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

Unified Diff: ios/web/app/web_main_loop.mm

Issue 2647943004: Return unique_ptr from WebClient::CreateWebMainParts() (Closed)
Patch Set: Created 3 years, 11 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/web/app/web_main_loop.mm
diff --git a/ios/web/app/web_main_loop.mm b/ios/web/app/web_main_loop.mm
index b5e59fc9ca779d475b17c30a9ae99e45fa29a5ca..66c11016b15d2cd7215aa13d925d7e06d36378cb 100644
--- a/ios/web/app/web_main_loop.mm
+++ b/ios/web/app/web_main_loop.mm
@@ -103,7 +103,7 @@ WebMainLoop::~WebMainLoop() {
}
void WebMainLoop::Init() {
- parts_.reset(web::GetWebClient()->CreateWebMainParts());
+ parts_ = web::GetWebClient()->CreateWebMainParts();
}
void WebMainLoop::EarlyInitialization() {

Powered by Google App Engine
This is Rietveld 408576698