diff options
Diffstat (limited to 'WebCore/loader/PluginDocument.cpp')
-rw-r--r-- | WebCore/loader/PluginDocument.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/loader/PluginDocument.cpp b/WebCore/loader/PluginDocument.cpp index 373126f..3500c98 100644 --- a/WebCore/loader/PluginDocument.cpp +++ b/WebCore/loader/PluginDocument.cpp @@ -106,12 +106,12 @@ bool PluginTokenizer::writeRawData(const char*, int) Settings* settings = frame->settings(); if (settings && settings->arePluginsEnabled()) { m_doc->updateLayout(); - - if (RenderWidget* renderer = static_cast<RenderWidget*>(m_embedElement->renderer())) { + + if (RenderWidget* renderer = toRenderWidget(m_embedElement->renderer())) { frame->loader()->client()->redirectDataToPlugin(renderer->widget()); frame->loader()->activeDocumentLoader()->mainResourceLoader()->setShouldBufferData(false); } - + finish(); } } |