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

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.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/InspectorOverlay.cpp
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp
index f6d06fa9c180de4396085c38bc7f46aea6da2d4d..33b55338b3ee2fbc7a2c3172676280a069bd6a75 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
+++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
@@ -128,7 +128,7 @@ private:
class InspectorOverlay::InspectorOverlayChromeClient final : public EmptyChromeClient {
public:
- static RawPtr<InspectorOverlayChromeClient> create(ChromeClient& client, InspectorOverlay& overlay)
+ static InspectorOverlayChromeClient* create(ChromeClient& client, InspectorOverlay& overlay)
{
return new InspectorOverlayChromeClient(client, overlay);
}
@@ -414,7 +414,7 @@ void InspectorOverlay::drawNodeHighlight()
return;
String selectors = m_nodeHighlightConfig.selectorList;
- RawPtr<StaticElementList> elements = nullptr;
+ StaticElementList* elements = nullptr;
TrackExceptionState exceptionState;
ContainerNode* queryBase = m_highlightNode->containingShadowRoot();
if (!queryBase)
@@ -495,8 +495,8 @@ Page* InspectorOverlay::overlayPage()
// through some non-composited paint function.
overlaySettings.setAcceleratedCompositingEnabled(false);
- RawPtr<LocalFrame> frame = LocalFrame::create(&dummyFrameLoaderClient, &m_overlayPage->frameHost(), 0);
- frame->setView(FrameView::create(frame.get()));
+ LocalFrame* frame = LocalFrame::create(&dummyFrameLoaderClient, &m_overlayPage->frameHost(), 0);
+ frame->setView(FrameView::create(frame));
frame->init();
FrameLoader& loader = frame->loader();
frame->view()->setCanHaveScrollbars(false);
@@ -505,8 +505,8 @@ Page* InspectorOverlay::overlayPage()
const WebData& overlayPageHTMLResource = Platform::current()->loadResource("InspectorOverlayPage.html");
RefPtr<SharedBuffer> data = SharedBuffer::create(overlayPageHTMLResource.data(), overlayPageHTMLResource.size());
loader.load(FrameLoadRequest(0, blankURL(), SubstituteData(data, "text/html", "UTF-8", KURL(), ForceSynchronousLoad)));
- v8::Isolate* isolate = toIsolate(frame.get());
- ScriptState* scriptState = ScriptState::forMainWorld(frame.get());
+ v8::Isolate* isolate = toIsolate(frame);
+ ScriptState* scriptState = ScriptState::forMainWorld(frame);
DCHECK(scriptState);
ScriptState::Scope scope(scriptState);
v8::Local<v8::Object> global = scriptState->context()->Global();
« no previous file with comments | « third_party/WebKit/Source/web/InspectorOverlay.h ('k') | third_party/WebKit/Source/web/InspectorRenderingAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698