summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-28 20:34:38 +0000
committerreed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-28 20:34:38 +0000
commitc7fd8ae473272217691d76c4895c1ffdd0d832fa (patch)
tree41a9f730f7802cc85e5ccc91e1220fdda34ea053
parent154e0b34f1ece67d8f066874b387c5cbfc585e7c (diff)
downloadchromium_src-c7fd8ae473272217691d76c4895c1ffdd0d832fa.zip
chromium_src-c7fd8ae473272217691d76c4895c1ffdd0d832fa.tar.gz
chromium_src-c7fd8ae473272217691d76c4895c1ffdd0d832fa.tar.bz2
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
-rw-r--r--skia/ext/analysis_canvas.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/skia/ext/analysis_canvas.cc b/skia/ext/analysis_canvas.cc
index 2cd74d8..524fd18 100644
--- a/skia/ext/analysis_canvas.cc
+++ b/skia/ext/analysis_canvas.cc
@@ -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;