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

Unified Diff: Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp

Issue 1195963006: Removing getBackingTextureImage from ImageBufferSurface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix unit test Created 5 years, 6 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
« no previous file with comments | « Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
diff --git a/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp b/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
index a44fc98340361260fc306ecc0e16868a6e9b7de0..47a9c736649669f2a5e70782493423c747573f58 100644
--- a/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
+++ b/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.cpp
@@ -62,13 +62,6 @@ AcceleratedImageBufferSurface::AcceleratedImageBufferSurface(const IntSize& size
clear();
}
-// This is a duplicate of newImageSnapshot(), but we need different entry points to
-// support Canvas2DLayerBridge's slightly divergent semantics.
-PassRefPtr<SkImage> AcceleratedImageBufferSurface::getBackingTextureImage() const
-{
- return adoptRef(m_surface->newImageSnapshot());
-}
-
void AcceleratedImageBufferSurface::didModifyBackingTexture()
{
m_surface->getCanvas()->getTopDevice()->accessBitmap(false).notifyPixelsChanged();
« no previous file with comments | « Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698