Skip to content

Commit

Permalink
Update CanvasSpy::onDrawEdgeAAQuad for Skia API change (flutter#11638)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianosman authored Aug 28, 2019
1 parent 2d6631a commit 0b614af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions shell/common/canvas_spy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ void DidDrawCanvas::onDrawAnnotation(const SkRect& rect,

void DidDrawCanvas::onDrawEdgeAAQuad(const SkRect& rect,
const SkPoint clip[4],
QuadAAFlags aa,
SkColor color,
SkCanvas::QuadAAFlags aa,
const SkColor4f& color,
SkBlendMode mode) {
did_draw_ = true;
}
Expand Down
4 changes: 2 additions & 2 deletions shell/common/canvas_spy.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ class DidDrawCanvas final : public SkCanvasVirtualEnforcer<SkNoDrawCanvas> {
// |SkCanvasVirtualEnforcer<SkNoDrawCanvas>|
void onDrawEdgeAAQuad(const SkRect&,
const SkPoint[4],
QuadAAFlags,
SkColor,
SkCanvas::QuadAAFlags,
const SkColor4f&,
SkBlendMode) override;

// |SkCanvasVirtualEnforcer<SkNoDrawCanvas>|
Expand Down

0 comments on commit 0b614af

Please sign in to comment.