Index: third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
index 19679ad69e80825dd76f0b5ce8e70b9e8fda0565..61a0bfa6c2d66e97cabf465c0b10f3c09a409a8f 100644 |
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp |
@@ -67,7 +67,7 @@ namespace blink { |
class PagePopupChromeClient final : public EmptyChromeClient { |
public: |
- static RawPtr<PagePopupChromeClient> create(WebPagePopupImpl* popup) |
+ static PagePopupChromeClient* create(WebPagePopupImpl* popup) |
{ |
return new PagePopupChromeClient(popup); |
} |
@@ -278,9 +278,9 @@ bool WebPagePopupImpl::initializePage() |
provideContextFeaturesTo(*m_page, adoptPtr(new PagePopupFeaturesClient())); |
DEFINE_STATIC_LOCAL(FrameLoaderClient, emptyFrameLoaderClient, (EmptyFrameLoaderClient::create())); |
- RawPtr<LocalFrame> frame = LocalFrame::create(&emptyFrameLoaderClient, &m_page->frameHost(), 0); |
+ LocalFrame* frame = LocalFrame::create(&emptyFrameLoaderClient, &m_page->frameHost(), 0); |
frame->setPagePopupOwner(m_popupClient->ownerElement()); |
- frame->setView(FrameView::create(frame.get())); |
+ frame->setView(FrameView::create(frame)); |
frame->init(); |
frame->view()->setParentVisible(true); |
frame->view()->setSelfVisible(true); |