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

Unified Diff: cc/layer_tree_host_unittest_scroll.cc

Issue 11830040: cc: Do not request redraw on commit when impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_draw3
Patch Set: fix cc_unittests Created 7 years, 11 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
« no previous file with comments | « no previous file | cc/layer_tree_settings.cc » ('j') | cc/layer_tree_settings.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_unittest_scroll.cc
diff --git a/cc/layer_tree_host_unittest_scroll.cc b/cc/layer_tree_host_unittest_scroll.cc
index 5c30a22de8b5405d1d71ab8b25c4ca2574c72032..c7d6bbea70e4e35148aa52768a901a42a376decd 100644
--- a/cc/layer_tree_host_unittest_scroll.cc
+++ b/cc/layer_tree_host_unittest_scroll.cc
@@ -558,6 +558,7 @@ class ImplSidePaintingScrollTestSimple : public ImplSidePaintingScrollTest {
EXPECT_VECTOR_EQ(root->scrollDelta(), impl_thread_scroll1_);
EXPECT_VECTOR_EQ(root->sentScrollDelta(), gfx::Vector2d());
postSetNeedsCommitToMainThread();
+ impl->setNeedsRedraw();
nduca 2013/01/15 01:54:54 any idea why this one happened?
enne (OOO) 2013/01/15 01:58:35 Yeah, I talked with Brian about this. Previously
brianderson 2013/01/15 02:01:56 Will have commit complete trigger setNeedsRedraw o
} else {
can_activate_ = true;
ASSERT_TRUE(pending_root);
« no previous file with comments | « no previous file | cc/layer_tree_settings.cc » ('j') | cc/layer_tree_settings.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698