projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
core
/
html
/
HTMLEmbedElement.cpp
diff --git
a/src/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
b/src/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
index
0a9cf57
..
10662d9
100644
(file)
--- a/
src/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
+++ b/
src/third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp
@@
-45,9
+45,9
@@
inline HTMLEmbedElement::HTMLEmbedElement(Document& document, bool createdByPars
ScriptWrappable::init(this);
}
ScriptWrappable::init(this);
}
-PassRefPtr<HTMLEmbedElement> HTMLEmbedElement::create(Document& document, bool createdByParser)
+PassRefPtr
WillBeRawPtr
<HTMLEmbedElement> HTMLEmbedElement::create(Document& document, bool createdByParser)
{
{
- RefPtr
<HTMLEmbedElement> element = adoptRef
(new HTMLEmbedElement(document, createdByParser));
+ RefPtr
WillBeRawPtr<HTMLEmbedElement> element = adoptRefWillBeRefCountedGarbageCollected
(new HTMLEmbedElement(document, createdByParser));
element->ensureUserAgentShadowRoot();
return element.release();
}
element->ensureUserAgentShadowRoot();
return element.release();
}
@@
-94,6
+94,8
@@
void HTMLEmbedElement::parseAttribute(const QualifiedName& name, const AtomicStr
size_t pos = m_serviceType.find(";");
if (pos != kNotFound)
m_serviceType = m_serviceType.left(pos);
size_t pos = m_serviceType.find(";");
if (pos != kNotFound)
m_serviceType = m_serviceType.left(pos);
+ if (!renderer())
+ requestPluginCreationWithoutRendererIfPossible();
} else if (name == codeAttr) {
m_url = stripLeadingAndTrailingHTMLSpaces(value);
} else if (name == srcAttr) {
} else if (name == codeAttr) {
m_url = stripLeadingAndTrailingHTMLSpaces(value);
} else if (name == srcAttr) {