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

Unified Diff: cc/trees/layer_tree_host_impl_unittest.cc

Issue 2185823005: Make RenderViewImpl::OnForceRedraw more robust (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: cc/trees/layer_tree_host_impl_unittest.cc
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc
index 6ede6ed35be3510911752590146b81e827d33960..3c05f514ae9df46f5e3c6222a17c08c40e2c8862 100644
--- a/cc/trees/layer_tree_host_impl_unittest.cc
+++ b/cc/trees/layer_tree_host_impl_unittest.cc
@@ -8387,6 +8387,8 @@ class SimpleSwapPromiseMonitor : public SwapPromiseMonitor {
void OnSetNeedsCommitOnMain() override { (*set_needs_commit_count_)++; }
+ void OnSetNeedsForcedRedrawOnMain() override {}
+
void OnSetNeedsRedrawOnImpl() override { (*set_needs_redraw_count_)++; }
void OnForwardScrollUpdateToMainThreadOnImpl() override {

Powered by Google App Engine
This is Rietveld 408576698