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

Unified Diff: third_party/WebKit/Source/core/html/HTMLCanvasElement.h

Issue 2063473002: Make 2D canvas disable gpu acceleration when getImageData is called (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit test build fix 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/core/html/HTMLCanvasElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
index ff94d8b8f50ba02c98058d94a0caa2a61f38e8dc..3f01aebe408209e614620e55e71c7eb6575643dd 100644
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h
@@ -173,6 +173,7 @@ public:
// ImageBufferClient implementation
void notifySurfaceInvalid() override;
bool isDirty() override { return !m_dirtyRect.isEmpty(); }
+ void didDisableAcceleration() override;
void didFinalizeFrame() override;
void restoreCanvasMatrixClipStack(SkCanvas*) const override;

Powered by Google App Engine
This is Rietveld 408576698