Skip to content

Commit

Permalink
Revert "Use New DlPathEffect Object (#98)" (#154)
Browse files Browse the repository at this point in the history
This reverts commit 615de63.
  • 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.