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

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

Issue 2508793002: Make exceptionState parameter of Document::createElement() to have default value (Closed)
Patch Set: 2016-11-16T15:26:06 Created 4 years, 1 month 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
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 738c3fb5959da833230adce7b1d64dd00caac1ec..e6ba7d025faf48c04d3fe4222d891f456a640fcb 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -326,7 +326,8 @@ class CORE_EXPORT Document : public ContainerNode,
Location* location() const;
- Element* createElement(const AtomicString& name, ExceptionState&);
+ Element* createElement(const AtomicString& name,
+ ExceptionState& = ASSERT_NO_EXCEPTION);
DocumentFragment* createDocumentFragment();
Text* createTextNode(const String& data);
Comment* createComment(const String& data);
@@ -1139,7 +1140,7 @@ class CORE_EXPORT Document : public ContainerNode,
Element* createElement(const AtomicString& localName,
const StringOrDictionary&,
- ExceptionState&);
+ ExceptionState& = ASSERT_NO_EXCEPTION);
Element* createElementNS(const AtomicString& namespaceURI,
const AtomicString& qualifiedName,
const StringOrDictionary&,
« no previous file with comments | « third_party/WebKit/Source/core/animation/KeyframeEffectTest.cpp ('k') | third_party/WebKit/Source/core/dom/RangeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698