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

Unified Diff: third_party/WebKit/Source/core/editing/VisibleUnitsTest.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/editing/VisibleUnitsTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/VisibleUnitsTest.cpp b/third_party/WebKit/Source/core/editing/VisibleUnitsTest.cpp
index 7d0a1adb7d6a7cc6eee5ebc931433ae0b3d14dcc..a7b7d1c2e3e938ad7f895cbebbd2db25273edcb0 100644
--- a/third_party/WebKit/Source/core/editing/VisibleUnitsTest.cpp
+++ b/third_party/WebKit/Source/core/editing/VisibleUnitsTest.cpp
@@ -204,7 +204,7 @@ TEST_F(VisibleUnitsTest, canonicalPositionOfWithHTMLHtmlElement) {
Node* two = document().querySelector("#two");
Node* three = document().querySelector("#three");
Node* four = document().querySelector("#four");
- Element* html = document().createElement("html", ASSERT_NO_EXCEPTION);
+ Element* html = document().createElement("html");
// Move two, three and four into second html element.
html->appendChild(two);
html->appendChild(three);
@@ -1036,7 +1036,7 @@ TEST_F(VisibleUnitsTest, isVisuallyEquivalentCandidateWithHTMLHtmlElement) {
Node* two = document().querySelector("#two");
Node* three = document().querySelector("#three");
Node* four = document().querySelector("#four");
- Element* html = document().createElement("html", ASSERT_NO_EXCEPTION);
+ Element* html = document().createElement("html");
// Move two, three and four into second html element.
html->appendChild(two);
html->appendChild(three);

Powered by Google App Engine
This is Rietveld 408576698