| Index: third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp b/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
|
| index d32ac2788fd4b4ed8a80d47ab16b983bf7a82bad..24fe0b3c6a8078830c43bc9e7386790f43d9517c 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
|
| @@ -147,14 +147,11 @@ void HTMLEmbedElement::updateWidgetInternal()
|
| if (!layoutObject())
|
| return;
|
|
|
| - // Overwrites the URL and MIME type of a Flash embed to use an HTML5 embed
|
| - // when outside of a PluginDocument.
|
| - if (!document().isPluginDocument()) {
|
| - KURL overridenUrl = document().frame()->loader().client()->overrideFlashEmbedWithHTML(document().completeURL(m_url));
|
| - if (!overridenUrl.isEmpty()) {
|
| - m_url = overridenUrl.getString();
|
| - m_serviceType = "text/html";
|
| - }
|
| + // Overwrites the URL and MIME type of a Flash embed to use an HTML5 embed.
|
| + KURL overridenUrl = document().frame()->loader().client()->overrideFlashEmbedWithHTML(document().completeURL(m_url));
|
| + if (!overridenUrl.isEmpty()) {
|
| + m_url = overridenUrl.getString();
|
| + m_serviceType = "text/html";
|
| }
|
|
|
| requestObject(m_url, m_serviceType, paramNames, paramValues);
|
|
|