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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBufferSurface.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/ImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h
index 870425fba3e8ac0d01b037274797e3c53d2d40ee..8ae2b2fad62b46311991aed805874c2f8714bd87 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h
@@ -75,7 +75,8 @@ class PLATFORM_EXPORT ImageBufferSurface {
virtual void setIsHidden(bool) {}
virtual void setImageBuffer(ImageBuffer*) {}
virtual sk_sp<PaintRecord> getRecord();
- virtual void finalizeFrame(const FloatRect& dirtyRect) {}
+ virtual void finalizeFrame() {}
+ virtual void doPaintInvalidation(const FloatRect& dirtyRect) {}
virtual void draw(GraphicsContext&,
const FloatRect& destRect,
const FloatRect& srcRect,

Powered by Google App Engine
This is Rietveld 408576698