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

Side by Side Diff: ios/web/app/web_main.mm

Issue 2449903002: [ObjC ARC] Converts ios/web/app to ARC (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « ios/web/app/BUILD.gn ('k') | ios/web/app/web_main_loop.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ios/web/public/app/web_main.h" 5 #include "ios/web/public/app/web_main.h"
6 #include "ios/web/public/app/web_main_runner.h" 6 #include "ios/web/public/app/web_main_runner.h"
7 7
8 #if !defined(__has_feature) || !__has_feature(objc_arc)
9 #error "This file requires ARC support."
10 #endif
11
8 namespace web { 12 namespace web {
9 13
10 WebMain::WebMain(const WebMainParams& params) { 14 WebMain::WebMain(const WebMainParams& params) {
11 web_main_runner_.reset(WebMainRunner::Create()); 15 web_main_runner_.reset(WebMainRunner::Create());
12 web_main_runner_->Initialize(params); 16 web_main_runner_->Initialize(params);
13 } 17 }
14 18
15 WebMain::~WebMain() { 19 WebMain::~WebMain() {
16 web_main_runner_->ShutDown(); 20 web_main_runner_->ShutDown();
17 } 21 }
18 22
19 } // namespace web 23 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/app/BUILD.gn ('k') | ios/web/app/web_main_loop.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698