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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.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/ImageBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
index 9c53f8c2c73c169a8fc93f328e58df2d58b8e9cf..8e38810f63f7ed3e17e92cbd281fe7d9e1377f40 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -115,10 +115,8 @@ class PLATFORM_EXPORT ImageBuffer {
void disableDeferral(DisableDeferralReason) const;
// Called at the end of a task that rendered a whole frame
- void finalizeFrame(const FloatRect& dirtyRect);
- void didFinalizeFrame();
-
- bool isDirty();
+ void finalizeFrame();
+ void doPaintInvalidation(const FloatRect& dirtyRect);
bool writePixels(const SkImageInfo&,
const void* pixels,

Powered by Google App Engine
This is Rietveld 408576698