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

Unified Diff: third_party/WebKit/Source/core/editing/RelocatablePositionTest.cpp

Issue 2178243002: Make ExceptionState parameter of ContainerNode::querySelector() as an optional parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-07-26T10:56:52 Created 4 years, 5 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
Index: third_party/WebKit/Source/core/editing/RelocatablePositionTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/RelocatablePositionTest.cpp b/third_party/WebKit/Source/core/editing/RelocatablePositionTest.cpp
index 186760481a7d50401288d13d8eab20de46a0bfa9..2d79b4472b99d4816114ee0c72a719946ed84b65 100644
--- a/third_party/WebKit/Source/core/editing/RelocatablePositionTest.cpp
+++ b/third_party/WebKit/Source/core/editing/RelocatablePositionTest.cpp
@@ -15,8 +15,8 @@ class RelocatablePositionTest : public EditingTestBase {
TEST_F(RelocatablePositionTest, position)
{
setBodyContent("<b>foo</b><textarea>bar</textarea>");
- Node* boldface = document().querySelector("b", ASSERT_NO_EXCEPTION);
- Node* textarea = document().querySelector("textarea", ASSERT_NO_EXCEPTION);
+ Node* boldface = document().querySelector("b");
+ Node* textarea = document().querySelector("textarea");
RelocatablePosition relocatablePosition(Position(textarea, PositionAnchorType::BeforeAnchor));
textarea->remove();

Powered by Google App Engine
This is Rietveld 408576698