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

Unified Diff: content/test/web_layer_tree_view_impl_for_testing.cc

Issue 27710005: cc: Use HighResNow as timebase if it is fast and reliable (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add missing include Created 7 years, 2 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: content/test/web_layer_tree_view_impl_for_testing.cc
diff --git a/content/test/web_layer_tree_view_impl_for_testing.cc b/content/test/web_layer_tree_view_impl_for_testing.cc
index 1bf4ee544571ad03ca9a001f85b83758dad09736..43f7d845edba2f63a93aa6aceae46115a3c81473 100644
--- a/content/test/web_layer_tree_view_impl_for_testing.cc
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc
@@ -20,6 +20,7 @@
#include "third_party/WebKit/public/platform/WebLayerTreeView.h"
#include "third_party/WebKit/public/platform/WebRenderingStats.h"
#include "third_party/WebKit/public/platform/WebSize.h"
+#include "ui/gfx/frame_time.h"
#include "webkit/common/gpu/test_context_provider_factory.h"
#include "webkit/renderer/compositor_bindings/web_layer_impl.h"
@@ -127,7 +128,7 @@ bool WebLayerTreeViewImplForTesting::commitRequested() const {
}
void WebLayerTreeViewImplForTesting::composite() {
- layer_tree_host_->Composite(base::TimeTicks::Now());
+ layer_tree_host_->Composite(gfx::FrameTime::Now());
}
void WebLayerTreeViewImplForTesting::didStopFlinging() {}

Powered by Google App Engine
This is Rietveld 408576698