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

Unified Diff: third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.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/RecordingImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
index c348e216da78b6080af922ab4db85214562a0c22..41ae58f28aaa201b151796bed4142b7c43377034 100644
--- a/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/RecordingImageBufferSurface.h
@@ -65,7 +65,8 @@ class PLATFORM_EXPORT RecordingImageBufferSurface : public ImageBufferSurface {
int x,
int y) override;
void willOverwriteCanvas() override;
- virtual void finalizeFrame(const FloatRect&);
+ void finalizeFrame() override;
+ void doPaintInvalidation(const FloatRect&) override;
void setImageBuffer(ImageBuffer*) override;
sk_sp<SkImage> newImageSnapshot(AccelerationHint, SnapshotReason) override;
void draw(GraphicsContext&,

Powered by Google App Engine
This is Rietveld 408576698