Chromium Code Reviews| Index: ios/web/web_state/ui/crw_web_controller+protected.h |
| diff --git a/ios/web/web_state/ui/crw_web_controller+protected.h b/ios/web/web_state/ui/crw_web_controller+protected.h |
| index 176235884b8aa249bdd3b582a840c0b89faab24b..79a91940818be95fe6903f4e75c9e2c895c138e1 100644 |
| --- a/ios/web/web_state/ui/crw_web_controller+protected.h |
| +++ b/ios/web/web_state/ui/crw_web_controller+protected.h |
| @@ -106,8 +106,8 @@ static NSString* const kScriptImmediateName = @"crwebinvokeimmediate"; |
| - (CRWWebControllerPendingNavigationInfo*)pendingNavigationInfo; |
| -// Designated initializer. |
| -- (instancetype)initWithWebState:(std::unique_ptr<web::WebStateImpl>)webState; |
| +// Designated initializer. Initializes web controller with unowned |webState|. |
|
kkhorimoto
2016/04/12 21:36:13
"Initializes a web controller owned by |webState|"
Eugene But (OOO till 7-30)
2016/04/13 02:51:26
Owner of WC should not be mentioned here (see my o
Eugene But (OOO till 7-30)
2016/04/13 13:57:57
Updated the comments according to Rohit's suggesti
|
| +- (instancetype)initWithWebState:(web::WebStateImpl*)webState; |
| // Creates a web view if it's not yet created. |
| - (void)ensureWebViewCreated; |