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

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

Issue 2721553004: Remove auto raw pointer deduction from non-linux specific code. (Closed)
Patch Set: rebase 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 13f7ae73badd26237060cb848b399e0beceaad77..f49e7c9bdddcc2d9f8ea15d905adef4e24518ce7 100644
--- a/ios/chrome/browser/tabs/tab.mm
+++ b/ios/chrome/browser/tabs/tab.mm
@@ -2028,7 +2028,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