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

Unified Diff: third_party/WebKit/Source/core/dom/TextTest.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/dom/TextTest.cpp
diff --git a/third_party/WebKit/Source/core/dom/TextTest.cpp b/third_party/WebKit/Source/core/dom/TextTest.cpp
index f0b2f73aeaef997fe7f85a90abe8a72bdb28830f..506213b8cb43107793771fbaa0316d027437b7b5 100644
--- a/third_party/WebKit/Source/core/dom/TextTest.cpp
+++ b/third_party/WebKit/Source/core/dom/TextTest.cpp
@@ -31,7 +31,7 @@ TEST_F(TextTest, RemoveFirstLetterPseudoElementWhenNoLetter)
{
setBodyContent("<style>*::first-letter{font:icon;}</style><pre>AB\n</pre>");
- Element* pre = document().querySelector("pre", ASSERT_NO_EXCEPTION);
+ Element* pre = document().querySelector("pre");
Text* text = toText(pre->firstChild());
Range* range = Range::create(document(), text, 0, text, 2);

Powered by Google App Engine
This is Rietveld 408576698