Commit c7fd8ae4 authored by reed@google.com's avatar reed@google.com

don't call deprecated getClipType

NOTRY=True

Review URL: https://codereview.chromium.org/216883007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260263 0039d316-1c4b-4281-b951-d872f2087c98
parent 154e0b34
......@@ -40,7 +40,7 @@ bool IsSolidColorPaint(const SkPaint& paint) {
// Returns true if the specified drawn_rect will cover the entire canvas, and
// that the canvas is not clipped (i.e. it covers ALL of the canvas).
bool IsFullQuad(SkCanvas* canvas, const SkRect& drawn_rect) {
if (SkCanvas::kRect_ClipType != canvas->getClipType())
if (!canvas->isClipRect())
return false;
SkIRect clip_irect;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment