Index: third_party/WebKit/Source/core/editing/VisiblePositionTest.cpp |
diff --git a/third_party/WebKit/Source/core/editing/VisiblePositionTest.cpp b/third_party/WebKit/Source/core/editing/VisiblePositionTest.cpp |
index 84464d11f15431bec476dca7f8fa2fcdc74d0890..b1a6cc0b9bbdb96df5f956537ce314a07c5c891f 100644 |
--- a/third_party/WebKit/Source/core/editing/VisiblePositionTest.cpp |
+++ b/third_party/WebKit/Source/core/editing/VisiblePositionTest.cpp |
@@ -89,13 +89,14 @@ TEST_F(VisiblePositionTest, NonNullInvalidatedAfterStyleChange) { |
Position position(paragraph->firstChild(), 1); |
VisiblePosition visiblePosition1 = createVisiblePosition(position); |
- div->style()->setProperty("color", "red", "important", ASSERT_NO_EXCEPTION); |
+ div->style()->setProperty(nullptr, "color", "red", "important", |
+ ASSERT_NO_EXCEPTION); |
EXPECT_FALSE(visiblePosition1.isValid()); |
updateAllLifecyclePhases(); |
VisiblePosition visiblePosition2 = createVisiblePosition(position); |
- div->style()->setProperty("display", "none", "important", |
+ div->style()->setProperty(nullptr, "display", "none", "important", |
ASSERT_NO_EXCEPTION); |
EXPECT_FALSE(visiblePosition2.isValid()); |