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

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

Issue 2101823002: Revert of Make 2D canvas disable gpu acceleration when getImageData is called (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/platform/graphics/ExpensiveCanvasHeuristicParameters.h
diff --git a/third_party/WebKit/Source/platform/graphics/ExpensiveCanvasHeuristicParameters.h b/third_party/WebKit/Source/platform/graphics/ExpensiveCanvasHeuristicParameters.h
index 67033a1bb16bd8ffca9c096d6903f5e4ebb20eaf..82dc9e6e9407a75ff2b197ac2fa838ab8247389a 100644
--- a/third_party/WebKit/Source/platform/graphics/ExpensiveCanvasHeuristicParameters.h
+++ b/third_party/WebKit/Source/platform/graphics/ExpensiveCanvasHeuristicParameters.h
@@ -62,11 +62,6 @@
// failure of subsequent allocations required for double buffering.
PreferDisplayListOverGpuSizeThreshold = 4096 * 4096,
- // Disable Acceleration heuristic parameters
- //===========================================
-
- GetImageDataForcesNoAcceleration = 1,
-
}; // enum
} // namespace ExpensiveCanvasHeuristicParameters

Powered by Google App Engine
This is Rietveld 408576698