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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.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/bindings/core/v8/ScriptCallStackFactory.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.cpp
index 5054bead7d504a0cd299215591e1e1366737edab..ad4a7ac48406f81717139a9e957353e9c37f23b7 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.cpp
@@ -77,20 +77,20 @@ static void toScriptCallFramesVector(v8::Local<v8::StackTrace> stackTrace, Vecto
}
}
-PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Isolate* isolate, v8::Local<v8::StackTrace> stackTrace, size_t maxStackSize)
+PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Isolate* isolate, v8::Local<v8::StackTrace> stackTrace, size_t maxStackSize)
{
ASSERT(isolate->InContext());
ASSERT(!stackTrace.IsEmpty());
v8::HandleScope scope(isolate);
Vector<ScriptCallFrame> scriptCallFrames;
toScriptCallFramesVector(stackTrace, scriptCallFrames, maxStackSize, isolate);
- RefPtrWillBeRawPtr<ScriptCallStack> callStack = ScriptCallStack::create(scriptCallFrames);
+ RefPtr<ScriptCallStack> callStack = ScriptCallStack::create(scriptCallFrames);
if (InspectorInstrumentation::hasFrontends() && maxStackSize > 1)
InspectorInstrumentation::appendAsyncCallStack(currentExecutionContext(isolate), callStack.get());
return callStack.release();
}
-PassRefPtrWillBeRawPtr<ScriptCallStack> currentScriptCallStack(size_t maxStackSize)
+PassRefPtr<ScriptCallStack> currentScriptCallStack(size_t maxStackSize)
{
v8::Isolate* isolate = v8::Isolate::GetCurrent();
if (!isolate->InContext())
@@ -100,7 +100,7 @@ PassRefPtrWillBeRawPtr<ScriptCallStack> currentScriptCallStack(size_t maxStackSi
return createScriptCallStack(isolate, stackTrace, maxStackSize);
}
-PassRefPtrWillBeRawPtr<ScriptCallStack> currentScriptCallStackForConsole(size_t maxStackSize)
+PassRefPtr<ScriptCallStack> currentScriptCallStackForConsole(size_t maxStackSize)
{
size_t stackSize = 1;
if (InspectorInstrumentation::hasFrontends()) {

Powered by Google App Engine
This is Rietveld 408576698