Index: Source/bindings/v8/V8Initializer.cpp |
diff --git a/Source/bindings/v8/V8Initializer.cpp b/Source/bindings/v8/V8Initializer.cpp |
index 3ccec631c54edc318bdd67792f213bd5b74607ce..fb928965a3a21655e87e18405beee1db96703aef 100644 |
--- a/Source/bindings/v8/V8Initializer.cpp |
+++ b/Source/bindings/v8/V8Initializer.cpp |
@@ -101,7 +101,7 @@ static void messageHandlerInMainThread(v8::Handle<v8::Message> message, v8::Hand |
String errorMessage = toCoreString(message->Get()); |
v8::Handle<v8::StackTrace> stackTrace = message->GetStackTrace(); |
- RefPtr<ScriptCallStack> callStack; |
+ RefPtrWillBeRawPtr<ScriptCallStack> callStack = nullptr; |
// Currently stack trace is only collected when inspector is open. |
if (!stackTrace.IsEmpty() && stackTrace->GetFrameCount() > 0) |
callStack = createScriptCallStack(stackTrace, ScriptCallStack::maxCallStackSizeToCapture, isolate); |