change clip-bounds getters to always return the rect
authorMike Reed <reed@google.com>
Mon, 23 Jan 2017 16:39:45 +0000 (11:39 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 23 Jan 2017 17:14:53 +0000 (17:14 +0000)
commit918e144408ba218df919528f8b48c544f4767883
treeaf398e3c3a1f779024a0d60d6db43aadb58e29ac
parent9adfef8680c22ce8980031b4bcb9f1fadd066a80
change clip-bounds getters to always return the rect
(actually fixes undefined result in getClipBounds)

future CLs
- update all callers to new apis
- move/rename virtuals

BUG=skia:

DOCS_PREVIEW= https://skia.org/?cl=7400

Change-Id: I45b93014e915c0d1c36d97d948c9ac8931f23258
Reviewed-on: https://skia-review.googlesource.com/7400
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Mike Reed <reed@google.com>
19 files changed:
bench/ChromeBench.cpp
bench/SKPAnimationBench.cpp
bench/SKPBench.cpp
gm/complexclip_blur_tiled.cpp
gm/imageblurtiled.cpp
gm/imageresizetiled.cpp
include/core/SkCanvas.h
site/user/api/skpaint.md
src/core/SkBigPicture.cpp
src/core/SkCanvas.cpp
src/core/SkPicturePlayback.cpp
src/core/SkRecordDraw.cpp
src/core/SkRecordedDrawable.cpp
src/utils/SkPaintFilterCanvas.cpp
tests/CanvasStateTest.cpp
tests/CanvasTest.cpp
tests/PictureTest.cpp
tools/debugger/SkDebugCanvas.cpp
tools/skhello.cpp