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

Side by Side Diff: ios/web_view/shell/shell_app_delegate.mm

Issue 2650323002: Cleanup ios/web_view. (Closed)
Patch Set: 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 unified diff | Download patch
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 #import "ios/web_view/shell/shell_app_delegate.h" 5 #import "ios/web_view/shell/shell_app_delegate.h"
6 6
7 #import "base/mac/scoped_nsobject.h" 7 #import "base/mac/scoped_nsobject.h"
8 #import "ios/web_view/public/criwv.h" 8 #import "ios/web_view/public/criwv.h"
9 #import "ios/web_view/shell/shell_delegate.h" 9 #import "ios/web_view/shell/shell_delegate.h"
10 #import "ios/web_view/shell/shell_view_controller.h" 10 #import "ios/web_view/shell/shell_view_controller.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 - (void)applicationWillEnterForeground:(UIApplication*)application { 42 - (void)applicationWillEnterForeground:(UIApplication*)application {
43 } 43 }
44 44
45 - (void)applicationDidBecomeActive:(UIApplication*)application { 45 - (void)applicationDidBecomeActive:(UIApplication*)application {
46 } 46 }
47 47
48 - (void)applicationWillTerminate:(UIApplication*)application { 48 - (void)applicationWillTerminate:(UIApplication*)application {
49 [CRIWV shutDown]; 49 [CRIWV shutDown];
50 } 50 }
51 51
52 - (void)dealloc {
53 [self.window release];
sdefresne 2017/01/25 09:11:09 I think setting this to nil will work (since the g
Eugene But (OOO till 7-30) 2017/01/25 14:28:04 FWIW: |[self.window release];| or |self.window = n
michaeldo 2017/01/25 17:23:47 Done.
54 [super dealloc];
55 }
56
52 @end 57 @end
OLDNEW
« ios/web_view/internal/criwv_web_main_parts.mm ('K') | « ios/web_view/public/criwv_web_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698