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

Unified Diff: content/browser/renderer_host/compositor_impl_android.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/browser/renderer_host/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index f042c0a86d6836957fbd32ee2aa9c937d6610d63..462c98dc78b708f8c1c57d088476db3a888609c7 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -58,7 +58,6 @@
#include "third_party/skia/include/core/SkMallocPixelRef.h"
#include "ui/android/window_android.h"
#include "ui/gfx/android/device_display_info.h"
-#include "ui/gfx/frame_time.h"
namespace content {
@@ -320,7 +319,7 @@ void CompositorImpl::Composite(CompositingTrigger trigger) {
// we are about to draw.
ignore_schedule_composite_ = true;
- const base::TimeTicks frame_time = gfx::FrameTime::Now();
+ const base::TimeTicks frame_time = base::TimeTicks::Now();
if (needs_animate_) {
needs_animate_ = false;
root_window_->Animate(frame_time);

Powered by Google App Engine
This is Rietveld 408576698