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

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

Issue 1382883002: Fixing performance issue of creating imagebitmap from ImageData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change enum type name and remove temps Created 5 years, 2 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/GraphicsTypes.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h b/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
index ec8ce2dae5d50a8b3842ed2a125b3150029be689..0c303722fcb85f9fe9063886ec5aaed8965f2050 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsTypes.h
@@ -80,6 +80,11 @@ enum AccelerationHint {
PreferNoAcceleration,
};
+enum ImageInitializationMode {
+ InitializeImagePixels,
+ DoNotInitializeImagePixels,
+};
+
// TODO(junov): crbug.com/453113 relocate ShadowMode to CanvasRenderingContext2DState.h once
// GraphicsContext no longer uses it.
enum ShadowMode {

Powered by Google App Engine
This is Rietveld 408576698