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

Unified Diff: cc/trees/layer_tree_host_unittest.cc

Issue 1839753004: cc : Fix timeout bug in LayerTreeHostTestGpuRasterDeviceSizeChanged (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable the test Created 4 years, 9 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 a1e3276f784db03fa035eaaa96cfc2f267272c59..cee77ff3d34e2ff457c963fbb93e9866c388edb1 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -904,9 +904,10 @@ class LayerTreeHostTestGpuRasterDeviceSizeChanged : public LayerTreeHostTest {
}
void DrawLayersOnThread(LayerTreeHostImpl* impl) override {
- if (num_draws_ < 2)
+ if (num_draws_ < 2) {
PostSetNeedsRedrawRectToMainThread(invalid_rect_);
- num_draws_++;
+ num_draws_++;
+ }
}
void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) override {
@@ -951,9 +952,7 @@ class LayerTreeHostTestGpuRasterDeviceSizeChanged : public LayerTreeHostTest {
// As there's no pending tree in single-threaded case, this test should run
// only for multi-threaded case.
-// Multi-thread case is flaky too. Disabling pending resolution on
-// 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