Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index abf7e4bc9e50a2f0cb90453b9f37f9bc9d6a7786..269b4716ef5394cf4896845482aea7f809d24a7c 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -321,7 +321,7 @@ WebContentsImpl::WebContentsImpl(BrowserContext* browser_context, |
notify_disconnection_(false), |
dialog_manager_(NULL), |
is_showing_before_unload_dialog_(false), |
- last_active_time_(base::TimeTicks::Now()), |
+ last_active_time_(base::Time::Now()), |
closed_by_user_gesture_(false), |
minimum_zoom_percent_(static_cast<int>(kMinimumZoomFactor * 100)), |
maximum_zoom_percent_(static_cast<int>(kMaximumZoomFactor * 100)), |
@@ -1053,7 +1053,7 @@ void WebContentsImpl::NotifyNavigationStateChanged( |
delegate_->NavigationStateChanged(this, changed_flags); |
} |
-base::TimeTicks WebContentsImpl::GetLastActiveTime() const { |
+base::Time WebContentsImpl::GetLastActiveTime() const { |
return last_active_time_; |
} |
@@ -1069,7 +1069,7 @@ void WebContentsImpl::WasShown() { |
} |
} |
- last_active_time_ = base::TimeTicks::Now(); |
+ last_active_time_ = base::Time::Now(); |
// The resize rect might have changed while this was inactive -- send the new |
// one to make sure it's up to date. |