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

Unified Diff: cc/trees/layer_tree_host_unittest.cc

Issue 2376623004: cc : Enable LayerTreeHostTestGpuRasterDeviceSizeChanged test (Closed)
Patch Set: Created 4 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 00d1ee8c553a73259c90e0e7e98b44c4f05c10f0..2ed71f76c2dc413c8fc6041b981f39bf38941521 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -1514,6 +1514,7 @@ class LayerTreeHostTestGpuRasterDeviceSizeChanged : public LayerTreeHostTest {
void DrawLayersOnThread(LayerTreeHostImpl* impl) override {
if (num_draws_ < 2) {
PostSetNeedsRedrawRectToMainThread(invalid_rect_);
+ PostSetNeedsCommitToMainThread();
danakj 2016/09/27 23:32:17 Oh thanks for the investigation! I have a suggeste
jaydasika 2016/09/27 23:42:58 That + Adding PostSetNeedsCommitToMainThread() to
num_draws_++;
}
}
@@ -1560,8 +1561,7 @@ class LayerTreeHostTestGpuRasterDeviceSizeChanged : public LayerTreeHostTest {
// As there's no pending tree in single-threaded case, this test should run
// only for multi-threaded case.
-// Disabled because its timing out flakily. crbug.com/598491
-// MULTI_THREAD_TEST_F(LayerTreeHostTestGpuRasterDeviceSizeChanged);
+MULTI_THREAD_TEST_F(LayerTreeHostTestGpuRasterDeviceSizeChanged);
class LayerTreeHostTestNoExtraCommitFromInvalidate : public LayerTreeHostTest {
public:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698