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

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

Issue 2149893003: Rename Node::inShadowIncludingDocument() to Node::isConnected() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed 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 11a71b534e44ffe437de9119adb8e80fdc1f5979..186760481a7d50401288d13d8eab20de46a0bfa9 100644
--- a/third_party/WebKit/Source/core/editing/RelocatablePositionTest.cpp
+++ b/third_party/WebKit/Source/core/editing/RelocatablePositionTest.cpp
@@ -25,7 +25,7 @@ TEST_F(RelocatablePositionTest, position)
// anchor node is moved away from the document.
Position expectedPosition(boldface, PositionAnchorType::AfterAnchor);
Position trackedPosition = relocatablePosition.position();
- EXPECT_TRUE(trackedPosition.anchorNode()->inShadowIncludingDocument());
+ EXPECT_TRUE(trackedPosition.anchorNode()->isConnected());
EXPECT_EQ(createVisiblePosition(expectedPosition).deepEquivalent(), createVisiblePosition(trackedPosition).deepEquivalent());
}
« no previous file with comments | « third_party/WebKit/Source/core/editing/Position.h ('k') | third_party/WebKit/Source/core/editing/VisiblePosition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698