| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 83a3349f09e1dd989f3acd08a834a5fffb1524c4..c6d4dc440ace86499ae7e27029f9434896ffa740 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;
|
|
|
|
|