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

Unified Diff: Source/bindings/core/v8/ScriptCallStackFactory.cpp

Issue 1111163003: Replace v8::Handle<> with v8::Local<> in bindings/core/v8/* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/bindings/core/v8/ScriptCallStackFactory.h ('k') | Source/bindings/core/v8/ScriptFunction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptCallStackFactory.cpp
diff --git a/Source/bindings/core/v8/ScriptCallStackFactory.cpp b/Source/bindings/core/v8/ScriptCallStackFactory.cpp
index 738b09b315d2d666643741867e6a1b43400aa919..17d2e7cfba6f6403cc936f3f53e046ef9c76ab7e 100644
--- a/Source/bindings/core/v8/ScriptCallStackFactory.cpp
+++ b/Source/bindings/core/v8/ScriptCallStackFactory.cpp
@@ -46,7 +46,7 @@ namespace blink {
class ExecutionContext;
-static ScriptCallFrame toScriptCallFrame(v8::Handle<v8::StackFrame> frame)
+static ScriptCallFrame toScriptCallFrame(v8::Local<v8::StackFrame> frame)
{
StringBuilder stringBuilder;
stringBuilder.appendNumber(frame->GetScriptId());
@@ -66,7 +66,7 @@ static ScriptCallFrame toScriptCallFrame(v8::Handle<v8::StackFrame> frame)
return ScriptCallFrame(functionName, scriptId, sourceName, sourceLineNumber, sourceColumn);
}
-static void toScriptCallFramesVector(v8::Handle<v8::StackTrace> stackTrace, Vector<ScriptCallFrame>& scriptCallFrames, size_t maxStackSize, bool emptyStackIsAllowed, v8::Isolate* isolate)
+static void toScriptCallFramesVector(v8::Local<v8::StackTrace> stackTrace, Vector<ScriptCallFrame>& scriptCallFrames, size_t maxStackSize, bool emptyStackIsAllowed, v8::Isolate* isolate)
{
ASSERT(isolate->InContext());
int frameCount = stackTrace->GetFrameCount();
@@ -84,7 +84,7 @@ static void toScriptCallFramesVector(v8::Handle<v8::StackTrace> stackTrace, Vect
}
}
-static PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Isolate* isolate, v8::Handle<v8::StackTrace> stackTrace, size_t maxStackSize, bool emptyStackIsAllowed)
+static PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Isolate* isolate, v8::Local<v8::StackTrace> stackTrace, size_t maxStackSize, bool emptyStackIsAllowed)
{
ASSERT(isolate->InContext());
ASSERT(!stackTrace.IsEmpty());
@@ -97,7 +97,7 @@ static PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Isolate
return callStack.release();
}
-PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Isolate* isolate, v8::Handle<v8::StackTrace> stackTrace, size_t maxStackSize)
+PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Isolate* isolate, v8::Local<v8::StackTrace> stackTrace, size_t maxStackSize)
{
return createScriptCallStack(isolate, stackTrace, maxStackSize, true);
}
@@ -108,7 +108,7 @@ PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(size_t maxStackSiz
if (!isolate->InContext())
return nullptr;
v8::HandleScope handleScope(isolate);
- v8::Handle<v8::StackTrace> stackTrace(v8::StackTrace::CurrentStackTrace(isolate, maxStackSize, stackTraceOptions));
+ v8::Local<v8::StackTrace> stackTrace(v8::StackTrace::CurrentStackTrace(isolate, maxStackSize, stackTraceOptions));
return createScriptCallStack(isolate, stackTrace, maxStackSize, emptyStackIsAllowed);
}
« no previous file with comments | « Source/bindings/core/v8/ScriptCallStackFactory.h ('k') | Source/bindings/core/v8/ScriptFunction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698