diff options
Diffstat (limited to 'src/core/web_contents_view_qt.cpp')
-rw-r--r-- | src/core/web_contents_view_qt.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/web_contents_view_qt.cpp b/src/core/web_contents_view_qt.cpp index c71dde724..f1d795ed7 100644 --- a/src/core/web_contents_view_qt.cpp +++ b/src/core/web_contents_view_qt.cpp @@ -92,17 +92,6 @@ content::RenderWidgetHostViewBase* WebContentsViewQt::CreateViewForPopupWidget(c return view; } -void WebContentsViewQt::RenderViewCreated(content::RenderViewHost* host) -{ - // The render process is done creating the RenderView and it's ready to be routed - // messages at this point. - if (m_client && m_webContents) { - content::RenderWidgetHostView* rwhv = m_webContents->GetRenderWidgetHostView(); - if (rwhv) - rwhv->SetBackgroundColor(toSk(m_client->backgroundColor())); - } -} - void WebContentsViewQt::CreateView(const gfx::Size& initial_size, gfx::NativeView context) { // This is passed through content::WebContents::CreateParams::context either as the native view's client |