Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CanvasSpy::onDrawEdgeAAQuad for Skia API change #11638

Merged
merged 1 commit into from
Aug 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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