diff options
Diffstat (limited to 'lib/web_contents_view_qt.cpp')
-rw-r--r-- | lib/web_contents_view_qt.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/web_contents_view_qt.cpp b/lib/web_contents_view_qt.cpp index 09863ca9e..db991d84b 100644 --- a/lib/web_contents_view_qt.cpp +++ b/lib/web_contents_view_qt.cpp @@ -62,8 +62,7 @@ content::RenderWidgetHostView* WebContentsViewQt::CreateViewForWidget(content::R void WebContentsViewQt::SetPageTitle(const string16& title) { - QString string = QString::fromUtf16(title.data()); - m_client->titleChanged(string); + m_client->titleChanged(toQt(title)); } void WebContentsViewQt::GetContainerBounds(gfx::Rect* out) const |