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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h

Issue 2848553003: Adjust OffscreenCanvas throttling to allow two frames of backlog (Closed)
Patch Set: Created 3 years, 8 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/OffscreenCanvasFrameDispatcherImpl.h
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
index 9bfbbbb474a0ff18ac8d18305f9eff57a81d94e8..f5a68cc01ebc237aa363b8b0ba70a9f2b1f047b4 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.h
@@ -64,7 +64,7 @@ class PLATFORM_EXPORT OffscreenCanvasFrameDispatcherImpl final
int height_;
bool change_size_for_next_commit_;
bool needs_begin_frame_;
- bool compositor_has_pending_frame_ = false;
+ int compositor_pending_frames_ = 0;
Eric Seckler 2017/04/28 08:19:10 nit: pending_compositor_frames_ ?
unsigned next_resource_id_;
HashMap<unsigned, RefPtr<StaticBitmapImage>> cached_images_;

Powered by Google App Engine
This is Rietveld 408576698