X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fhtml%2FHTMLObjectElement.cpp;h=2879919fce53e5037bc832d5a646fa4f557d4899;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=cf644a121f996151ec1b7df7397355217e378923;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp b/src/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp index cf644a1..2879919 100644 --- a/src/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp +++ b/src/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp @@ -28,12 +28,12 @@ #include "bindings/v8/ScriptEventListener.h" #include "core/dom/Attribute.h" #include "core/dom/ElementTraversal.h" -#include "core/dom/NodeList.h" #include "core/dom/Text.h" #include "core/dom/shadow/ShadowRoot.h" #include "core/events/ThreadLocalEventNames.h" #include "core/fetch/ImageResource.h" #include "core/html/FormDataList.h" +#include "core/html/HTMLCollection.h" #include "core/html/HTMLDocument.h" #include "core/html/HTMLImageLoader.h" #include "core/html/HTMLMetaElement.h" @@ -235,7 +235,7 @@ bool HTMLObjectElement::shouldAllowQuickTimeClassIdQuirk() || !equalIgnoringCase(classId(), "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B")) return false; - RefPtr metaElements = document().getElementsByTagName(HTMLNames::metaTag.localName()); + RefPtr metaElements = document().getElementsByTagName(HTMLNames::metaTag.localName()); unsigned length = metaElements->length(); for (unsigned i = 0; i < length; ++i) { ASSERT(metaElements->item(i)->isHTMLElement()); @@ -281,7 +281,7 @@ void HTMLObjectElement::reloadPluginOnAttributeChange(const QualifiedName& name) } setNeedsWidgetUpdate(true); if (needsInvalidation) - setNeedsStyleRecalc(); + setNeedsStyleRecalc(SubtreeStyleChange); } // FIXME: This should be unified with HTMLEmbedElement::updateWidget and @@ -360,7 +360,7 @@ void HTMLObjectElement::childrenChanged(bool changedByParser, Node* beforeChange { if (inDocument() && !useFallbackContent()) { setNeedsWidgetUpdate(true); - setNeedsStyleRecalc(); + setNeedsStyleRecalc(SubtreeStyleChange); } HTMLPlugInElement::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta); }