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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.h

Issue 1382883002: Fixing performance issue of creating imagebitmap from ImageData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: third_party/WebKit/Source/platform/graphics/ImageBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
index 7d73455e2fc3ce7dde70951906fea587e7e6f0d1..47c9754b41b094d774bd7f9f922cfc1035c47b13 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -72,6 +72,7 @@ class PLATFORM_EXPORT ImageBuffer {
public:
static PassOwnPtr<ImageBuffer> create(const IntSize&, OpacityMode = NonOpaque);
static PassOwnPtr<ImageBuffer> create(PassOwnPtr<ImageBufferSurface>);
+ static PassOwnPtr<ImageBuffer> createSimple(const IntSize&, OpacityMode = NonOpaque);
~ImageBuffer();

Powered by Google App Engine
This is Rietveld 408576698