aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/debugger
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-07-20 08:54:31 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-20 08:54:31 -0700
commitea70c4bb22394c8dcc29a369d3422a2b8f3b3e80 (patch)
tree8ae182d041ecae4d9819ec4dc259db30a6b23c5b /tools/debugger
parentc1be9bc1696b50982eb6dda154a76f8dd7b7d438 (diff)
Remove SkDevice::accessRenderTarget virtual
Diffstat (limited to 'tools/debugger')
-rw-r--r--tools/debugger/SkDebugCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/debugger/SkDebugCanvas.cpp b/tools/debugger/SkDebugCanvas.cpp
index ae934a16e7..062445ba0a 100644
--- a/tools/debugger/SkDebugCanvas.cpp
+++ b/tools/debugger/SkDebugCanvas.cpp
@@ -345,7 +345,7 @@ void SkDebugCanvas::drawTo(SkCanvas* canvas, int index, int m) {
// get the render target of the top device so we can ignore batches drawn offscreen
SkBaseDevice* bd = canvas->getDevice_just_for_deprecated_compatibility_testing();
SkGpuDevice* gbd = reinterpret_cast<SkGpuDevice*>(bd);
- uint32_t rtID = gbd->accessRenderTarget()->getUniqueID();
+ uint32_t rtID = gbd->accessDrawContext()->accessRenderTarget()->getUniqueID();
// get the bounding boxes to draw
SkTArray<GrAuditTrail::BatchInfo> childrenBounds;