Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/HTMLObjectElement.cpp |
| diff --git a/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp b/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp |
| index 6353215395e0e2b61bb45f25df5da17e72031d9c..b653da578c733184042b08c6ab0673509f7c3d69 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp |
| +++ b/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp |
| @@ -325,6 +325,9 @@ void HTMLObjectElement::updatePluginInternal() { |
| dispatchErrorEvent(); |
| if (hasFallbackContent()) |
| renderFallbackContent(); |
| + } else { |
| + if (isPlaceholder()) |
| + dispatchErrorEvent(); |
| } |
| } |