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

Unified Diff: cc/trees/layer_tree_host_unittest_no_message_loop.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/trees/layer_tree_host_unittest_no_message_loop.cc
diff --git a/cc/trees/layer_tree_host_unittest_no_message_loop.cc b/cc/trees/layer_tree_host_unittest_no_message_loop.cc
index 7a4251c20882cec407671e84051b02e81111bb6f..ffae4400e550aea03b616b608563231dcf6ee94b 100644
--- a/cc/trees/layer_tree_host_unittest_no_message_loop.cc
+++ b/cc/trees/layer_tree_host_unittest_no_message_loop.cc
@@ -21,7 +21,6 @@
#include "cc/trees/layer_tree_host_single_thread_client.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColor.h"
-#include "ui/gfx/frame_time.h"
namespace cc {
namespace {
@@ -117,7 +116,7 @@ class LayerTreeHostNoMessageLoopTest
void Composite() {
did_commit_ = false;
did_commit_and_draw_frame_ = false;
- layer_tree_host_->Composite(gfx::FrameTime::Now());
+ layer_tree_host_->Composite(base::TimeTicks::Now());
EXPECT_TRUE(did_initialize_output_surface_);
EXPECT_TRUE(did_commit_);
EXPECT_TRUE(did_commit_and_draw_frame_);

Powered by Google App Engine
This is Rietveld 408576698