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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2334223005: 2nd arg of document.createElement should be an object (Closed)
Patch Set: Remove deprecation warning for now. Created 4 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 | « third_party/WebKit/Source/core/core_idl_files.gni ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 83ec6a96b74ccc996175c487ea241cff5b7c6570..7f3e4c3d6dcbc5849fafadea3d5cd6c21ff8973f 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -162,6 +162,7 @@ class SelectorQueryCache;
class SerializedScriptValue;
class Settings;
class SnapCoordinator;
+class StringOrDictionary;
class StyleEngine;
class StyleResolver;
class StyleSheet;
@@ -1144,11 +1145,11 @@ class CORE_EXPORT Document : public ContainerNode,
TextAutosizer* textAutosizer();
Element* createElement(const AtomicString& localName,
- const AtomicString& typeExtension,
+ const StringOrDictionary&,
ExceptionState&);
Element* createElementNS(const AtomicString& namespaceURI,
const AtomicString& qualifiedName,
- const AtomicString& typeExtension,
+ const StringOrDictionary&,
ExceptionState&);
ScriptValue registerElement(
ScriptState*,
« no previous file with comments | « third_party/WebKit/Source/core/core_idl_files.gni ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698