diff options
author | reed <reed@google.com> | 2014-11-19 07:17:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-19 07:17:17 -0800 |
commit | 7c4cdd2c5b7b6c71fa0e7612594f7885f2dbf264 (patch) | |
tree | 06ea08866680ce7abe2fdc7cdca0eb0321684ace /include/core/SkDevice.h | |
parent | 7e76bff26e7c74902841ca4f607eb0b24a833a4a (diff) |
Revert of allow pictures to have a full bounds (patchset #3 id:40001 of https://codereview.chromium.org/736583004/)
Reason for revert:
needed to update legacy width() helpers
Original issue's description:
> allow pictures to have a full bounds
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/7e76bff26e7c74902841ca4f607eb0b24a833a4a
TBR=fmalita@google.com,mtklein@google.com,robertphillips@google.com,fmalita@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/722043005
Diffstat (limited to 'include/core/SkDevice.h')
-rw-r--r-- | include/core/SkDevice.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h index 3c26baca5b..471a76be8e 100644 --- a/include/core/SkDevice.h +++ b/include/core/SkDevice.h @@ -53,12 +53,6 @@ public: bounds->setXYWH(origin.x(), origin.y(), this->width(), this->height()); } - SkIRect getGlobalBounds() const { - SkIRect bounds; - this->getGlobalBounds(&bounds); - return bounds; - } - int width() const { return this->imageInfo().width(); } @@ -372,7 +366,6 @@ private: friend class SkDeviceFilteredPaint; friend class SkDeviceImageFilterProxy; friend class SkDeferredDevice; // for newSurface - friend class SkNoPixelsBitmapDevice; friend class SkSurface_Raster; |