Index: content/shell/shell_gtk.cc |
diff --git a/content/shell/shell_gtk.cc b/content/shell/shell_gtk.cc |
index 98def9533d4ac2f3a12a9febba5cae3c67124875..22d6b330484c30c9fdd06899f3234041727b582b 100644 |
--- a/content/shell/shell_gtk.cc |
+++ b/content/shell/shell_gtk.cc |
@@ -209,7 +209,7 @@ void Shell::PlatformSetContents() { |
void Shell::SizeTo(int width, int height) { |
content_width_ = width; |
content_height_ = height; |
- if (web_contents_.get()) { |
+ if (web_contents_) { |
gtk_widget_set_size_request(web_contents_->GetView()->GetNativeView(), |
width, height); |
} |