Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: src/gpu/SkGpuDevice.cpp

Issue 2167723002: Remove SkDevice::accessRenderTarget virtual (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/SkGpuDevice.cpp
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp
index 8ce4b30ff70a160a58abe7dce0cbe798a25a61da..9357568117bebfcc6ed5900a110e6ad0dc13f0f3 100644
--- a/src/gpu/SkGpuDevice.cpp
+++ b/src/gpu/SkGpuDevice.cpp
@@ -341,11 +341,6 @@ void SkGpuDevice::prepareDraw(const SkDraw& draw) {
fClip.reset(fClipStack, &this->getOrigin());
}
-GrRenderTarget* SkGpuDevice::accessRenderTarget() {
- ASSERT_SINGLE_OWNER
- return fRenderTarget.get();
-}
-
GrDrawContext* SkGpuDevice::accessDrawContext() {
ASSERT_SINGLE_OWNER
return fDrawContext.get();
« include/core/SkDevice.h ('K') | « src/gpu/SkGpuDevice.h ('k') | src/image/SkImage_Gpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698