| 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 1a886832b2c777b5ec720a9679ab154dd6763284..bba9b18f6264124a4befbaf455c24d177b50d021 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
|
| @@ -114,11 +114,7 @@ void HTMLEmbedElement::ParseAttribute(
|
| url_ = StripLeadingAndTrailingHTMLSpaces(params.new_value);
|
| } else if (params.name == srcAttr) {
|
| url_ = StripLeadingAndTrailingHTMLSpaces(params.new_value);
|
| - if (GetLayoutObject() && IsImageType()) {
|
| - if (!image_loader_)
|
| - image_loader_ = HTMLImageLoader::Create(this);
|
| - image_loader_->UpdateFromElement(ImageLoader::kUpdateIgnorePreviousError);
|
| - } else if (GetLayoutObject()) {
|
| + if (GetLayoutObject()) {
|
| // Check if this Embed can transition from potentially-active to active
|
| if (FastHasAttribute(typeAttr)) {
|
| SetNeedsPluginUpdate(true);
|
|
|