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

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

Issue 358893002: Use newImageSnapshot() to get an image from a Canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Again in StaticBitmapPattern Created 6 years, 3 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/UnacceleratedImageBufferSurface.h
diff --git a/Source/platform/graphics/UnacceleratedImageBufferSurface.h b/Source/platform/graphics/UnacceleratedImageBufferSurface.h
index 694a48e10f43d20e9da21f8ef2d59974d436928f..ce5ade599e2c8eb64490e3476a63f16923b585ed 100644
--- a/Source/platform/graphics/UnacceleratedImageBufferSurface.h
+++ b/Source/platform/graphics/UnacceleratedImageBufferSurface.h
@@ -47,6 +47,7 @@ public:
virtual SkCanvas* canvas() const OVERRIDE;
virtual bool isValid() const OVERRIDE;
+ virtual PassRefPtr<SkImage> newImageSnapshot() const OVERRIDE;
private:
RefPtr<SkSurface> m_surface;
};

Powered by Google App Engine
This is Rietveld 408576698