Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 7025e53eb197611ef286c622597daa21d8d674aa..62ee811c909f293b6f0985db6b7a79cb328de294 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -501,7 +501,7 @@ SkBaseDevice* SkCanvas::init(SkBaseDevice* device) { |
fSurfaceBase = NULL; |
- return this->setDevice(device); |
+ return this->setRootDevice(device); |
} |
SkCanvas::SkCanvas() |
@@ -602,7 +602,7 @@ SkBaseDevice* SkCanvas::getTopDevice(bool updateMatrixClip) const { |
return fMCRec->fTopLayer->fDevice; |
} |
-SkBaseDevice* SkCanvas::setDevice(SkBaseDevice* device) { |
+SkBaseDevice* SkCanvas::setRootDevice(SkBaseDevice* device) { |
// return root device |
SkDeque::F2BIter iter(fMCStack); |
MCRec* rec = (MCRec*)iter.next(); |