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

Unified Diff: Source/core/editing/EditingUtilitiesTest.cpp

Issue 1320573003: Rename isBlock() to isEnclosingBlock() in EditingUtilities (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-26T21:48:03 Rebase Created 5 years, 4 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
« no previous file with comments | « Source/core/editing/EditingUtilities.cpp ('k') | Source/core/editing/VisibleSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EditingUtilitiesTest.cpp
diff --git a/Source/core/editing/EditingUtilitiesTest.cpp b/Source/core/editing/EditingUtilitiesTest.cpp
index 80d865fcd401d5e1cec6fad53ad7c9b0c8c6dceb..17ecf820b31cbe1f3957d3b66ba23b50841f7bfc 100644
--- a/Source/core/editing/EditingUtilitiesTest.cpp
+++ b/Source/core/editing/EditingUtilitiesTest.cpp
@@ -42,8 +42,8 @@ TEST_F(EditingUtilitiesTest, enclosingNodeOfType)
Node* one = document().getElementById("one");
Node* three = shadowRoot->getElementById("three");
- EXPECT_EQ(host, enclosingNodeOfType(Position(one, 0), isBlock));
- EXPECT_EQ(three, enclosingNodeOfType(PositionInComposedTree(one, 0), isBlock));
+ EXPECT_EQ(host, enclosingNodeOfType(Position(one, 0), isEnclosingBlock));
+ EXPECT_EQ(three, enclosingNodeOfType(PositionInComposedTree(one, 0), isEnclosingBlock));
}
TEST_F(EditingUtilitiesTest, NextNodeIndex)
« no previous file with comments | « Source/core/editing/EditingUtilities.cpp ('k') | Source/core/editing/VisibleSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698