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

Unified Diff: cc/test/layer_tree_test.cc

Issue 1143433005: Remove gfx::FrameTime for a single clock source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handling patch for mac files Created 5 years, 7 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/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index bad69c3594d0f2b71799c8e06c17b8bfb1d8f45a..94f044f07da70861572a2e60265f447d53a4ca87 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -34,7 +34,6 @@
#include "cc/trees/single_thread_proxy.h"
#include "cc/trees/thread_proxy.h"
#include "testing/gmock/include/gmock/gmock.h"
-#include "ui/gfx/frame_time.h"
#include "ui/gfx/geometry/size_conversions.h"
namespace cc {
@@ -786,7 +785,7 @@ void LayerTreeTest::DispatchSetNextCommitForcesRedraw() {
void LayerTreeTest::DispatchCompositeImmediately() {
DCHECK(!proxy() || proxy()->IsMainThread());
if (layer_tree_host_)
- layer_tree_host_->Composite(gfx::FrameTime::Now());
+ layer_tree_host_->Composite(base::TimeTicks::Now());
}
void LayerTreeTest::RunTest(bool threaded,

Powered by Google App Engine
This is Rietveld 408576698