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

Unified Diff: ios/web/public/web_client.mm

Issue 2647943004: Return unique_ptr from WebClient::CreateWebMainParts() (Closed)
Patch Set: Respond to comments. 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
« no previous file with comments | « ios/web/public/web_client.h ('k') | ios/web/shell/shell_web_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/web_client.mm
diff --git a/ios/web/public/web_client.mm b/ios/web/public/web_client.mm
index 997eecef3fbfa18a540f23ca65bc69969d975f08..ff5592057f17a4f3919c771cd22d26b153333460 100644
--- a/ios/web/public/web_client.mm
+++ b/ios/web/public/web_client.mm
@@ -6,6 +6,8 @@
#import <Foundation/Foundation.h>
+#include "ios/web/public/app/web_main_parts.h"
+
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
@@ -28,7 +30,7 @@ WebClient::WebClient() {
WebClient::~WebClient() {
}
-WebMainParts* WebClient::CreateWebMainParts() {
+std::unique_ptr<WebMainParts> WebClient::CreateWebMainParts() {
return nullptr;
}
« no previous file with comments | « ios/web/public/web_client.h ('k') | ios/web/shell/shell_web_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698