diff options
author | 2016-07-20 08:54:31 -0700 | |
---|---|---|
committer | 2016-07-20 08:54:31 -0700 | |
commit | ea70c4bb22394c8dcc29a369d3422a2b8f3b3e80 (patch) | |
tree | 8ae182d041ecae4d9819ec4dc259db30a6b23c5b /tools/debugger | |
parent | c1be9bc1696b50982eb6dda154a76f8dd7b7d438 (diff) |
Remove SkDevice::accessRenderTarget virtual
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2167723002
Review-Url: https://codereview.chromium.org/2167723002
Diffstat (limited to 'tools/debugger')
-rw-r--r-- | tools/debugger/SkDebugCanvas.cpp | 2 |
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; |