Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 5ba6e8f6dc399c7c71fa8c858425ba826ddb6378..8159adf0ee5a735c73532b6626ba48b6dd42aa2a 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -583,17 +583,7 @@ |
} |
} |
-SkISize SkCanvas::getTopLayerSize() const { |
- SkBaseDevice* d = this->getTopDevice(); |
- return d ? SkISize::Make(d->width(), d->height()) : SkISize::Make(0, 0); |
-} |
- |
-SkIPoint SkCanvas::getTopLayerOrigin() const { |
- SkBaseDevice* d = this->getTopDevice(); |
- return d ? d->getOrigin() : SkIPoint::Make(0, 0); |
-} |
- |
-SkISize SkCanvas::getBaseLayerSize() const { |
+SkISize SkCanvas::getDeviceSize() const { |
SkBaseDevice* d = this->getDevice(); |
return d ? SkISize::Make(d->width(), d->height()) : SkISize::Make(0, 0); |
} |