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

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: fix test + review comments 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 77c6956dc6a8cb6ac238225cd6c8b76c2fbb8d8f..3034747902db210771124cb804726595c14a72fa 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> 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