summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/web_contents_view_qt.cpp5
-rw-r--r--src/core/web_contents_view_qt.h2
2 files changed, 1 insertions, 6 deletions
diff --git a/src/core/web_contents_view_qt.cpp b/src/core/web_contents_view_qt.cpp
index 83147f8bf..5ae238b21 100644
--- a/src/core/web_contents_view_qt.cpp
+++ b/src/core/web_contents_view_qt.cpp
@@ -88,11 +88,6 @@ void WebContentsViewQt::CreateView(const gfx::Size& initial_size, gfx::NativeVie
m_factoryClient = reinterpret_cast<WebContentsAdapterClient *>(context);
}
-void WebContentsViewQt::SetPageTitle(const string16& title)
-{
- m_client->titleChanged(toQt(title));
-}
-
gfx::NativeView WebContentsViewQt::GetNativeView() const
{
// Hack to provide the client to WebContentsImpl::CreateNewWindow.
diff --git a/src/core/web_contents_view_qt.h b/src/core/web_contents_view_qt.h
index 63e240b99..e8a0f6b1f 100644
--- a/src/core/web_contents_view_qt.h
+++ b/src/core/web_contents_view_qt.h
@@ -75,7 +75,7 @@ public:
virtual content::RenderWidgetHostView* CreateViewForPopupWidget(content::RenderWidgetHost* render_widget_host) Q_DECL_OVERRIDE;
- virtual void SetPageTitle(const string16& title) Q_DECL_OVERRIDE;
+ virtual void SetPageTitle(const string16& title) Q_DECL_OVERRIDE { }
virtual void RenderViewCreated(content::RenderViewHost* host) Q_DECL_OVERRIDE { QT_NOT_YET_IMPLEMENTED }