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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.h

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/bindings/core/v8/ScriptCallStackFactory.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.h b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.h
index 0f6126dc606f34ccd3272a0bca2f320bd213e9e0..6779ae99fac21b6f6b0311bf102dd33ebb112eba 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.h
@@ -33,6 +33,7 @@
#include "core/CoreExport.h"
#include "core/inspector/ScriptCallStack.h"
+#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include <v8.h>
@@ -49,9 +50,9 @@ const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::Stac
| v8::StackTrace::kScriptNameOrSourceURL
| v8::StackTrace::kFunctionName);
-PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Isolate*, v8::Local<v8::StackTrace>, size_t maxStackSize);
-CORE_EXPORT PassRefPtrWillBeRawPtr<ScriptCallStack> currentScriptCallStack(size_t maxStackSize);
-PassRefPtrWillBeRawPtr<ScriptCallStack> currentScriptCallStackForConsole(size_t maxStackSize = ScriptCallStack::maxCallStackSizeToCapture);
+PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Isolate*, v8::Local<v8::StackTrace>, size_t maxStackSize);
+CORE_EXPORT PassRefPtr<ScriptCallStack> currentScriptCallStack(size_t maxStackSize);
+PassRefPtr<ScriptCallStack> currentScriptCallStackForConsole(size_t maxStackSize = ScriptCallStack::maxCallStackSizeToCapture);
PassRefPtrWillBeRawPtr<ScriptArguments> createScriptArguments(ScriptState*, const v8::FunctionCallbackInfo<v8::Value>& v8arguments, unsigned skipArgumentCount);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698