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

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindow.cpp

Issue 1601283003: DevTools: deoilpanize inspector/v8 and related classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed. Created 4 years, 11 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/core/frame/DOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.cpp b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
index 2a86da71d221ddebc047a2fb71340e0eb8a77c9a..df0dd0e2ee69d548c0df78e13e8254dfcb2e4d53 100644
--- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
@@ -218,7 +218,7 @@ void DOMWindow::postMessage(PassRefPtr<SerializedScriptValue> message, const Mes
bool didHandleMessageEvent = frame()->client()->willCheckAndDispatchMessageEvent(target.get(), event.get(), source->document()->frame());
if (!didHandleMessageEvent) {
// Capture stack trace only when inspector front-end is loaded as it may be time consuming.
- RefPtrWillBeRawPtr<ScriptCallStack> stackTrace = nullptr;
+ RefPtr<ScriptCallStack> stackTrace;
if (InspectorInstrumentation::consoleAgentEnabled(sourceDocument))
stackTrace = currentScriptCallStack(ScriptCallStack::maxCallStackSizeToCapture);
« no previous file with comments | « third_party/WebKit/Source/core/frame/ConsoleBase.cpp ('k') | third_party/WebKit/Source/core/frame/FrameConsole.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698