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

Unified Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.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/Canvas2DLayerBridge.h
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
index 108e35fadd06d7f39814b2ec6933d7f9c365ca5a..7c8ce5b9507bac3f9f26466f00b47c12515195c8 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
@@ -113,7 +113,6 @@
void flushGpu();
void prepareSurfaceForPaintingIfNeeded();
bool isHidden() { return m_isHidden; }
- OpacityMode opacityMode() { return m_opacityMode; }
void beginDestruction();
void hibernate();
@@ -193,8 +192,6 @@
void flushRecordingOnly();
void unregisterTaskObserver();
void reportSurfaceCreationFailure();
-
- void disableAcceleration();
// WebThread::TaskOberver implementation
void willProcessTask() override;
@@ -260,7 +257,6 @@
bool m_hibernationScheduled = false;
friend class Canvas2DLayerBridgeTest;
- friend class CanvasRenderingContext2DTest;
uint32_t m_lastImageId;

Powered by Google App Engine
This is Rietveld 408576698