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

Unified Diff: cc/output/begin_frame_args_unittest.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/output/begin_frame_args_unittest.cc
diff --git a/cc/output/begin_frame_args_unittest.cc b/cc/output/begin_frame_args_unittest.cc
index 877a857c63215235dc1148f017d7455545645806..4521c1b760d2408ee29f0f3914463666ab93f5bb 100644
--- a/cc/output/begin_frame_args_unittest.cc
+++ b/cc/output/begin_frame_args_unittest.cc
@@ -8,7 +8,6 @@
#include "cc/test/begin_frame_args_test.h"
#include "testing/gtest/include/gtest/gtest-spi.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "ui/gfx/frame_time.h"
namespace cc {
namespace {
@@ -33,7 +32,7 @@ TEST(BeginFrameArgsTest, Helpers) {
BeginFrameArgs args3 =
CreateExpiredBeginFrameArgsForTesting(BEGINFRAME_FROM_HERE);
EXPECT_TRUE(args3.IsValid()) << args3;
- EXPECT_GT(gfx::FrameTime::Now(), args3.deadline);
+ EXPECT_GT(base::TimeTicks::Now(), args3.deadline);
EXPECT_EQ(BeginFrameArgs::NORMAL, args3.type);
BeginFrameArgs args4 = CreateBeginFrameArgsForTesting(

Powered by Google App Engine
This is Rietveld 408576698