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

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

Issue 2653933003: Make stream captures work on canvases that are not in the DOM. (Closed)
Patch Set: rebase Created 3 years, 10 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 aff8e6a7d19960b15adba828582094222cbb2bb1..d1a7f13c9543e5fcd40c7d0c8799d237f01a029b 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
@@ -113,7 +113,8 @@ class PLATFORM_EXPORT Canvas2DLayerBridge
bool lostResource);
// ImageBufferSurface implementation
- void finalizeFrame(const FloatRect& dirtyRect);
+ void finalizeFrame();
+ void doPaintInvalidation(const FloatRect& dirtyRect);
void willWritePixels();
void willOverwriteAllPixels();
void willOverwriteCanvas();
@@ -134,7 +135,6 @@ class PLATFORM_EXPORT Canvas2DLayerBridge
int y);
void flush();
void flushGpu();
- void prepareSurfaceForPaintingIfNeeded();
bool isHidden() { return m_isHidden; }
OpacityMode opacityMode() { return m_opacityMode; }
void dontUseIdleSchedulingForTesting() {

Powered by Google App Engine
This is Rietveld 408576698