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

Unified Diff: ios/chrome/browser/tabs/tab.mm

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: Created 3 years, 10 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: ios/chrome/browser/tabs/tab.mm
diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
index f669f1bfbc80ababda2f0e9c34eae5e1e1b9fb05..dbf3bbeef7db009b7d20d8f6e179a4b87493e300 100644
--- a/ios/chrome/browser/tabs/tab.mm
+++ b/ios/chrome/browser/tabs/tab.mm
@@ -1989,7 +1989,7 @@ void TabInfoBarObserver::OnInfoBarReplaced(infobars::InfoBar* old_infobar,
openerURL:(const GURL&)openerURL
initiatedByUser:(BOOL)initiatedByUser {
if (!initiatedByUser) {
- auto helper = BlockedPopupTabHelper::FromWebState(webController.webState);
+ auto* helper = BlockedPopupTabHelper::FromWebState(webController.webState);
if (helper->ShouldBlockPopup(openerURL)) {
[self blockPopupForURL:URL openerURL:openerURL];
return nil;

Powered by Google App Engine
This is Rietveld 408576698