Index: Source/web/tests/PinchViewportTest.cpp |
diff --git a/Source/web/tests/PinchViewportTest.cpp b/Source/web/tests/PinchViewportTest.cpp |
index 238ff4aef08c17d7403f0e3bacf9cf650fc109de..b1ace405ff4f7dc4558a94665a8d7d0563cf4c88 100644 |
--- a/Source/web/tests/PinchViewportTest.cpp |
+++ b/Source/web/tests/PinchViewportTest.cpp |
@@ -781,7 +781,7 @@ TEST_F(PinchViewportTest, TestNavigateToSmallerFrameViewHistoryItemClobberBug) |
pinchViewport.setScale(2); |
pinchViewport.setLocation(FloatPoint(950, 950)); |
- RefPtr<HistoryItem> firstItem = webViewImpl()->mainFrameImpl()->frame()->loader().currentItem(); |
+ RefPtrWillBePersistent<HistoryItem> firstItem = webViewImpl()->mainFrameImpl()->frame()->loader().currentItem(); |
EXPECT_POINT_EQ(IntPoint(0, 1000), firstItem->scrollPoint()); |
// Now navigate to a page which causes a smaller frameView. Make sure that |