summaryrefslogtreecommitdiffstats
path: root/cc/resources/resource_update_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/resource_update_controller.cc')
-rw-r--r--cc/resources/resource_update_controller.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/resources/resource_update_controller.cc b/cc/resources/resource_update_controller.cc
index 3114d1e..59c536b 100644
--- a/cc/resources/resource_update_controller.cc
+++ b/cc/resources/resource_update_controller.cc
@@ -9,6 +9,7 @@
#include "base/single_thread_task_runner.h"
#include "cc/resources/prioritized_resource.h"
#include "cc/resources/resource_provider.h"
+#include "ui/gfx/frame_time.h"
namespace {
@@ -113,7 +114,7 @@ void ResourceUpdateController::OnTimerFired() {
}
base::TimeTicks ResourceUpdateController::Now() const {
- return base::TimeTicks::Now();
+ return gfx::FrameTime::Now();
}
base::TimeDelta ResourceUpdateController::UpdateMoreTexturesTime() const {