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..66253dac78858120181129ec6fea5ddfa72db559 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 (isErrorPlaceholder()) |
| + dispatchErrorEvent(); |
| } |
| } |