| Index: Source/WebKit/chromium/src/WebPagePopupImpl.cpp
|
| diff --git a/Source/WebKit/chromium/src/WebPagePopupImpl.cpp b/Source/WebKit/chromium/src/WebPagePopupImpl.cpp
|
| index c5ef3fbe0ebc73a8f604025151d04299cbb2bbeb..f752a6fe1c989107322e8e48240e7cc23672a924 100644
|
| --- a/Source/WebKit/chromium/src/WebPagePopupImpl.cpp
|
| +++ b/Source/WebKit/chromium/src/WebPagePopupImpl.cpp
|
| @@ -56,8 +56,6 @@ using namespace std;
|
|
|
| namespace WebKit {
|
|
|
| -#if ENABLE(PAGE_POPUP)
|
| -
|
| class PagePopupChromeClient : public EmptyChromeClient, public WebCore::PageClientChromium {
|
| WTF_MAKE_NONCOPYABLE(PagePopupChromeClient);
|
| WTF_MAKE_FAST_ALLOCATED;
|
| @@ -347,13 +345,10 @@ void WebPagePopupImpl::closePopup()
|
| m_popupClient->didClosePopup();
|
| }
|
|
|
| -#endif // ENABLE(PAGE_POPUP)
|
| -
|
| // WebPagePopup ----------------------------------------------------------------
|
|
|
| WebPagePopup* WebPagePopup::create(WebWidgetClient* client)
|
| {
|
| -#if ENABLE(PAGE_POPUP)
|
| if (!client)
|
| CRASH();
|
| // A WebPagePopupImpl instance usually has two references.
|
| @@ -363,10 +358,6 @@ WebPagePopup* WebPagePopup::create(WebWidgetClient* client)
|
| // We need them because the closing operation is asynchronous and the widget
|
| // can be closed while the WebViewImpl is unaware of it.
|
| return adoptRef(new WebPagePopupImpl(client)).leakRef();
|
| -#else
|
| - UNUSED_PARAM(client);
|
| - return 0;
|
| -#endif
|
| }
|
|
|
| } // namespace WebKit
|
|
|