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

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: Created 3 years, 11 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 0ba1285a88569ec4d77aafd675ef5b4ac8fe6395..0a4887121bbe508bdaac3534e2df18cea8038505 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.h
@@ -110,7 +110,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();
@@ -131,7 +132,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