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

Unified Diff: ios/shared/chrome/browser/ui/browser_list/browser.mm

Issue 2775623002: [ios] WebStateList owns all WebState it manages. (Closed)
Patch Set: Fix gn check Created 3 years, 8 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 | « ios/shared/chrome/browser/tabs/web_state_list_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/shared/chrome/browser/ui/browser_list/browser.mm
diff --git a/ios/shared/chrome/browser/ui/browser_list/browser.mm b/ios/shared/chrome/browser/ui/browser_list/browser.mm
index 5fc2496d2b5dc905c562a30ed59eb3be1359aca4..bd6edc2cf1fa38d56775e0e69b4d117dd8dd20c9 100644
--- a/ios/shared/chrome/browser/ui/browser_list/browser.mm
+++ b/ios/shared/chrome/browser/ui/browser_list/browser.mm
@@ -20,8 +20,8 @@ Browser::Browser(ios::ChromeBrowserState* browser_state)
DCHECK(browser_state_);
web_state_list_delegate_ =
base::MakeUnique<BrowserWebStateListDelegate>(this);
- web_state_list_ = base::MakeUnique<WebStateList>(
- web_state_list_delegate_.get(), WebStateList::WebStateOwned);
+ web_state_list_ =
+ base::MakeUnique<WebStateList>(web_state_list_delegate_.get());
}
Browser::~Browser() = default;
« no previous file with comments | « ios/shared/chrome/browser/tabs/web_state_list_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698