Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 |
| OLD | NEW |