Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: Source/core/dom/Document.cpp

Issue 656073002: IDL: Use ALLOW_ONLY_INLINE_ALLOCATION() in dictionaries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/DOMPointInit.idl ('k') | Source/core/dom/ElementRegistrationOptions.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index 64597aca002b7bdb3bbda792e3284c9ffb02653f..45212e3f75f58e5dc2355d56ba2f95b05812899c 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -842,8 +842,8 @@ PassRefPtrWillBeRawPtr<Element> Document::createElementNS(const AtomicString& na
ScriptValue Document::registerElement(ScriptState* scriptState, const AtomicString& name, ExceptionState& exceptionState)
{
- ElementRegistrationOptions* options = ElementRegistrationOptions::create();
- return registerElement(scriptState, name, *options, exceptionState);
+ ElementRegistrationOptions options;
+ return registerElement(scriptState, name, options, exceptionState);
}
ScriptValue Document::registerElement(ScriptState* scriptState, const AtomicString& name, const ElementRegistrationOptions& options, ExceptionState& exceptionState, CustomElement::NameSet validNames)
« no previous file with comments | « Source/core/dom/DOMPointInit.idl ('k') | Source/core/dom/ElementRegistrationOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698