Skip to content

Commit

Permalink
Revert "Use New DlPathEffect Object (flutter#98)" (flutter#154)
Browse files Browse the repository at this point in the history
This reverts commit 615de639cd17c68743e6f8f9e87b883b2b20e958.
  • Loading branch information
flar authored and dnfield committed Apr 27, 2022
1 parent cd1a5a3 commit 5ec32d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion impeller/display_list/display_list_dispatcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ void DisplayListDispatcher::setBlender(sk_sp<SkBlender> blender) {
}

// |flutter::Dispatcher|
void DisplayListDispatcher::setPathEffect(const flutter::DlPathEffect* effect) {
void DisplayListDispatcher::setPathEffect(sk_sp<SkPathEffect> effect) {
// Needs https://github.com/flutter/flutter/issues/95434
UNIMPLEMENTED;
}
Expand Down
2 changes: 1 addition & 1 deletion impeller/display_list/display_list_dispatcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class DisplayListDispatcher final : public flutter::Dispatcher {
void setBlender(sk_sp<SkBlender> blender) override;

// |flutter::Dispatcher|
void setPathEffect(const flutter::DlPathEffect* effect) override;
void setPathEffect(sk_sp<SkPathEffect> effect) override;

// |flutter::Dispatcher|
void setMaskFilter(const flutter::DlMaskFilter* filter) override;
Expand Down

0 comments on commit 5ec32d7

Please sign in to comment.