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

Unified Diff: content/renderer/gpu/render_widget_compositor.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: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index 06adef191970c72be802f8817a28b12aa97acec8..b1ef747dc657299657d1f0b5571b05c006a28798 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -43,7 +43,6 @@
#include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
#include "third_party/WebKit/public/web/WebSelection.h"
#include "third_party/WebKit/public/web/WebWidget.h"
-#include "ui/gfx/frame_time.h"
#include "ui/gl/gl_switches.h"
#include "ui/native_theme/native_theme_switches.h"
@@ -753,7 +752,7 @@ void RenderWidgetCompositor::ScheduleCommit() {
void RenderWidgetCompositor::SynchronousCommit() {
DCHECK(CommitIsSynchronous());
- layer_tree_host_->Composite(gfx::FrameTime::Now());
+ layer_tree_host_->Composite(base::TimeTicks::Now());
}
void RenderWidgetCompositor::finishAllRendering() {

Powered by Google App Engine
This is Rietveld 408576698