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

Unified Diff: Source/platform/graphics/Canvas2DLayerBridge.h

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/Canvas2DLayerBridge.h
diff --git a/Source/platform/graphics/Canvas2DLayerBridge.h b/Source/platform/graphics/Canvas2DLayerBridge.h
index e8fc86f9c9a39677c45f653ae37cb86b9d6c1f33..85187f5201e73bdb96dce3053160d3dda12eefb0 100644
--- a/Source/platform/graphics/Canvas2DLayerBridge.h
+++ b/Source/platform/graphics/Canvas2DLayerBridge.h
@@ -72,7 +72,7 @@ public:
bool checkSurfaceValid();
bool restoreSurface();
WebLayer* layer() const;
- Platform3DObject getBackingTexture();
+ PassRefPtr<SkImage> getBackingTextureImage();
bool isAccelerated() const { return true; }
void setFilterQuality(SkFilterQuality);
void setIsHidden(bool);

Powered by Google App Engine
This is Rietveld 408576698