| Index: content/shell/shell.cc
|
| diff --git a/content/shell/shell.cc b/content/shell/shell.cc
|
| index 21b31362ab8d1abce8d6cde8a2e8a1ef9cc2b109..521c9c50f66306de787a9321ca856d68385ff4b2 100644
|
| --- a/content/shell/shell.cc
|
| +++ b/content/shell/shell.cc
|
| @@ -208,7 +208,7 @@ void Shell::CloseDevTools() {
|
| }
|
|
|
| gfx::NativeView Shell::GetContentView() {
|
| - if (!web_contents_.get())
|
| + if (!web_contents_)
|
| return NULL;
|
| return web_contents_->GetView()->GetNativeView();
|
| }
|
| @@ -281,7 +281,7 @@ void Shell::DidNavigateMainFramePostCommit(WebContents* web_contents) {
|
| }
|
|
|
| JavaScriptDialogManager* Shell::GetJavaScriptDialogManager() {
|
| - if (!dialog_manager_.get())
|
| + if (!dialog_manager_)
|
| dialog_manager_.reset(new ShellJavaScriptDialogManager());
|
| return dialog_manager_.get();
|
| }
|
|
|