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

Unified Diff: cc/trees/layer_tree_host_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_unittest.cc
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
index baa1618b0a25656e304f5e75cac046d19eb1491c..75a0ccc583f82d717f376bca8ea55c3ddbf573fd 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -4800,6 +4800,8 @@ class SimpleSwapPromiseMonitor : public SwapPromiseMonitor {
void OnSetNeedsCommitOnMain() override { (*set_needs_commit_count_)++; }
+ void OnSetNeedsForcedRedrawOnMain() override {}
+
void OnSetNeedsRedrawOnImpl() override {
ADD_FAILURE() << "Should not get called on main thread.";
}

Powered by Google App Engine
This is Rietveld 408576698