Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: third_party/WebKit/Source/web/WebPagePopupImpl.cpp

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « third_party/WebKit/Source/web/WebOptionElement.cpp ('k') | third_party/WebKit/Source/web/WebPepperSocketImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698