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

Side by Side Diff: cc/trees/single_thread_proxy.cc

Issue 462803002: Fix failing (flaky) LayerTreeHostTestLCDNotification test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/single_thread_proxy.h" 5 #include "cc/trees/single_thread_proxy.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
9 #include "cc/debug/benchmark_instrumentation.h" 9 #include "cc/debug/benchmark_instrumentation.h"
10 #include "cc/output/context_provider.h" 10 #include "cc/output/context_provider.h"
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 return true; 451 return true;
452 } 452 }
453 453
454 void SingleThreadProxy::DidSwapFrame() { 454 void SingleThreadProxy::DidSwapFrame() {
455 if (next_frame_is_newly_committed_frame_) { 455 if (next_frame_is_newly_committed_frame_) {
456 next_frame_is_newly_committed_frame_ = false; 456 next_frame_is_newly_committed_frame_ = false;
457 layer_tree_host_->DidCommitAndDrawFrame(); 457 layer_tree_host_->DidCommitAndDrawFrame();
458 } 458 }
459 } 459 }
460 460
461 bool SingleThreadProxy::CommitPendingForTesting() { return false; } 461 bool SingleThreadProxy::MainFrameWillHappenForTesting() {
462 return false;
463 }
462 464
463 } // namespace cc 465 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698