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 8cf33aa3b8d1d32439b95b87e651411162c720f2..8c4e03d680ad91b7b192999623b5253b5519f612 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -346,9 +346,9 @@ WebContentsImpl::~WebContentsImpl() { |
#endif |
// OnCloseStarted isn't called in unit tests. |
- if (!tab_close_start_time_.is_null()) { |
+ if (!close_start_time_.is_null()) { |
UMA_HISTOGRAM_TIMES("Tab.Close", |
- base::TimeTicks::Now() - tab_close_start_time_); |
+ base::TimeTicks::Now() - close_start_time_); |
} |
FOR_EACH_OBSERVER(WebContentsObserver, |
@@ -1250,8 +1250,8 @@ base::TimeTicks WebContentsImpl::GetNewTabStartTime() const { |
} |
void WebContentsImpl::OnCloseStarted() { |
- if (tab_close_start_time_.is_null()) |
- tab_close_start_time_ = base::TimeTicks::Now(); |
+ if (close_start_time_.is_null()) |
+ close_start_time_ = base::TimeTicks::Now(); |
} |
bool WebContentsImpl::ShouldAcceptDragAndDrop() const { |
@@ -2584,7 +2584,7 @@ void WebContentsImpl::OnDialogClosed(RenderViewHost* rvh, |
// spinning, since we forced it to start spinning in Navigate. |
DidStopLoading(); |
- tab_close_start_time_ = base::TimeTicks(); |
+ close_start_time_ = base::TimeTicks(); |
} |
is_showing_before_unload_dialog_ = false; |
static_cast<RenderViewHostImpl*>( |