| Index: Source/web/ChromeClientImpl.cpp
|
| diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
|
| index 3a2b428185978edf3a9687f8a4cd37d81e6c403b..87b30bb15e09b6cd22bb897ac5202474390aeaf6 100644
|
| --- a/Source/web/ChromeClientImpl.cpp
|
| +++ b/Source/web/ChromeClientImpl.cpp
|
| @@ -707,12 +707,12 @@ bool ChromeClientImpl::hasOpenedPopup() const
|
| return m_webView->hasOpenedPopup();
|
| }
|
|
|
| -PassRefPtr<PopupMenu> ChromeClientImpl::createPopupMenu(LocalFrame& frame, PopupMenuClient* client) const
|
| +PassRefPtrWillBeRawPtr<PopupMenu> ChromeClientImpl::createPopupMenu(LocalFrame& frame, PopupMenuClient* client) const
|
| {
|
| if (WebViewImpl::useExternalPopupMenus())
|
| - return adoptRef(new ExternalPopupMenu(frame, client, *m_webView));
|
| + return adoptRefWillBeNoop(new ExternalPopupMenu(frame, client, *m_webView));
|
|
|
| - return adoptRef(new PopupMenuChromium(frame, client));
|
| + return adoptRefWillBeNoop(new PopupMenuChromium(frame, client));
|
| }
|
|
|
| PagePopup* ChromeClientImpl::openPagePopup(PagePopupClient* client, const IntRect& originBoundsInRootView)
|
|
|