summaryrefslogtreecommitdiffstats
path: root/content/shell/shell.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/shell.cc')
-rw-r--r--content/shell/shell.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/shell/shell.cc b/content/shell/shell.cc
index 21b3136..521c9c5 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();
}