Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 38a0553d0af224ed7fd473dcc023b28adf606ec6..2de9951163f97ba32ba4a6248907b1fb5fc4a590 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -490,7 +490,7 @@ void WebViewImpl::handleMouseDown(LocalFrame& mainFrame, const WebMouseEvent& ev |
// If there is a popup open, close it as the user is clicking on the page (outside of the |
// popup). We also save it so we can prevent a click on an element from immediately |
// reopening the same popup. |
- RefPtr<PopupContainer> selectPopup; |
+ RefPtrWillBeRawPtr<PopupContainer> selectPopup = nullptr; |
RefPtr<WebPagePopupImpl> pagePopup; |
if (event.button == WebMouseEvent::ButtonLeft) { |
selectPopup = m_selectPopup; |
@@ -738,7 +738,7 @@ bool WebViewImpl::handleGestureEvent(const WebGestureEvent& event) |
break; |
} |
- RefPtr<PopupContainer> selectPopup; |
+ RefPtrWillBeRawPtr<PopupContainer> selectPopup = nullptr; |
selectPopup = m_selectPopup; |
hideSelectPopup(); |
ASSERT(!m_selectPopup); |
@@ -3281,7 +3281,7 @@ void WebViewImpl::updateMainFrameLayoutSize() |
if (m_shouldAutoResize || !mainFrameImpl()) |
return; |
- RefPtr<FrameView> view = mainFrameImpl()->frameView(); |
+ RefPtrWillBeRawPtr<FrameView> view = mainFrameImpl()->frameView(); |
if (!view) |
return; |