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

Unified Diff: chrome/browser/android/data_usage/data_use_tab_helper.cc

Issue 2175503002: chrome/browser/android: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/android/download/chrome_download_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/data_usage/data_use_tab_helper.cc
diff --git a/chrome/browser/android/data_usage/data_use_tab_helper.cc b/chrome/browser/android/data_usage/data_use_tab_helper.cc
index 0e503ad0009c9f7ad5d08c43715aaf6b72e6e60b..7bfd8b69252a5fd03238b5a2a27b9e7e559b519c 100644
--- a/chrome/browser/android/data_usage/data_use_tab_helper.cc
+++ b/chrome/browser/android/data_usage/data_use_tab_helper.cc
@@ -51,9 +51,9 @@ void DataUseTabHelper::DidFinishNavigation(
// The last committed navigation entry should correspond to the current
// navigation. This should not be null since the DidFinishNavigation
// callback is received for a committed navigation.
- auto navigation_entry = navigation_handle->GetWebContents()
- ->GetController()
- .GetLastCommittedEntry();
+ auto* navigation_entry = navigation_handle->GetWebContents()
+ ->GetController()
+ .GetLastCommittedEntry();
DCHECK(navigation_entry);
DCHECK_EQ(navigation_handle->GetURL(), navigation_entry->GetURL());
data_use_ui_tab_model->ReportBrowserNavigation(
« no previous file with comments | « no previous file | chrome/browser/android/download/chrome_download_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698