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

Unified Diff: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommandTest.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/commands/ReplaceSelectionCommandTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommandTest.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommandTest.cpp
index fc8ab49e3722e0bd6eaabca9561a61b7bbbfce7d..f833401c1652bc7e4a9a2dbfd65307e76c35e7ca 100644
--- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommandTest.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommandTest.cpp
@@ -35,7 +35,7 @@ TEST_F(ReplaceSelectionCommandTest, pastingEmptySpan) {
.build());
DocumentFragment* fragment = document().createDocumentFragment();
- fragment->appendChild(document().createElement("span", ASSERT_NO_EXCEPTION));
+ fragment->appendChild(document().createElement("span"));
// |options| are taken from |Editor::replaceSelectionWithFragment()| with
// |selectReplacement| and |smartReplace|.

Powered by Google App Engine
This is Rietveld 408576698