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

Unified Diff: third_party/WebKit/Source/core/dom/RangeTest.cpp

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/RangeTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/RangeTest.cpp b/third_party/WebKit/Source/core/dom/RangeTest.cpp
index e954b58e140a617cb3e505cd5fc351fc4f790385..18ff657e40e2a74ee4a5f25886b62ecd5bea9f0d 100644
--- a/third_party/WebKit/Source/core/dom/RangeTest.cpp
+++ b/third_party/WebKit/Source/core/dom/RangeTest.cpp
@@ -146,8 +146,8 @@ TEST_F(RangeTest, SplitTextNodeRangeOutsideText) {
}
TEST_F(RangeTest, updateOwnerDocumentIfNeeded) {
- Element* foo = document().createElement("foo", ASSERT_NO_EXCEPTION);
- Element* bar = document().createElement("bar", ASSERT_NO_EXCEPTION);
+ Element* foo = document().createElement("foo");
+ Element* bar = document().createElement("bar");
foo->appendChild(bar);
Range* range = Range::create(document(), Position(bar, 0), Position(foo, 1));
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.h ('k') | third_party/WebKit/Source/core/dom/ScriptRunnerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698