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

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

Issue 2808493002: [blink] Request compositing update when canvas hibernates/wakes up. (Closed)
Patch Set: trigger compositing update from Canvas2DLayerBridge instead Created 3 years, 8 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 35eac8543b6c1692329d5594c8afedf2040cd6f1..d2b43d2575a169d960112c52b13dba1a4244f6d2 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -181,6 +181,8 @@ class PLATFORM_EXPORT ImageBuffer {
void DisableAcceleration();
void SetSurface(std::unique_ptr<ImageBufferSurface>);
+ void SetNeedsCompositingUpdate();
+
WeakPtrFactory<ImageBuffer> weak_ptr_factory_;
protected:

Powered by Google App Engine
This is Rietveld 408576698