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

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: 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/ImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/ImageBufferSurface.h
index 06ed4634b7f94d0083f50c17aa3071edd49b88fd..3f927673b8b6b6c7f0006d94892fd6a6867857dd 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<SkPicture> getPicture();
- 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