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

Unified Diff: Source/platform/graphics/ImageBufferSurface.cpp

Issue 1195513002: Use SkImage snapshots for ImageBufferSurface texture access (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments 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
Index: Source/platform/graphics/ImageBufferSurface.cpp
diff --git a/Source/platform/graphics/ImageBufferSurface.cpp b/Source/platform/graphics/ImageBufferSurface.cpp
index 7f987cfe7f7947872ea7fe390fbddcc1e9188792..7eebf948ed7c1204aa075fffb40ecd7b452825e0 100644
--- a/Source/platform/graphics/ImageBufferSurface.cpp
+++ b/Source/platform/graphics/ImageBufferSurface.cpp
@@ -82,11 +82,6 @@ const SkBitmap& ImageBufferSurface::cachedBitmap() const
return nullBitmap;
}
-PassRefPtr<SkImage> ImageBufferSurface::newImageSnapshot() const
-{
- return nullptr;
-}
-
void ImageBufferSurface::draw(GraphicsContext* context, const FloatRect& destRect, const FloatRect& srcRect, SkXfermode::Mode op)
{
SkBitmap bmp = bitmap();

Powered by Google App Engine
This is Rietveld 408576698