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

Unified Diff: Source/bindings/tests/results/V8TestCallback.cpp

Issue 23470004: Have handleMaxRecursionDepthExceeded() take an isolate in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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: Source/bindings/tests/results/V8TestCallback.cpp
diff --git a/Source/bindings/tests/results/V8TestCallback.cpp b/Source/bindings/tests/results/V8TestCallback.cpp
index 47f578916aef5f6304d2676b136940d1b8e08b40..650b4cae4b62432ee04d7543d10a3a17631be882 100644
--- a/Source/bindings/tests/results/V8TestCallback.cpp
+++ b/Source/bindings/tests/results/V8TestCallback.cpp
@@ -62,7 +62,7 @@ bool V8TestCallback::callbackWithNoParam()
v8::Handle<v8::Value> *argv = 0;
bool callbackReturnValue = false;
- return !invokeCallback(m_callback.newLocal(isolate), 0, argv, callbackReturnValue, scriptExecutionContext());
+ return !invokeCallback(m_callback.newLocal(isolate), 0, argv, callbackReturnValue, scriptExecutionContext(), isolate);
}
bool V8TestCallback::callbackWithTestObjectParam(TestObj* class1Param)
@@ -91,7 +91,7 @@ bool V8TestCallback::callbackWithTestObjectParam(TestObj* class1Param)
};
bool callbackReturnValue = false;
- return !invokeCallback(m_callback.newLocal(isolate), 1, argv, callbackReturnValue, scriptExecutionContext());
+ return !invokeCallback(m_callback.newLocal(isolate), 1, argv, callbackReturnValue, scriptExecutionContext(), isolate);
}
bool V8TestCallback::callbackWithTestObjectParam(TestObj* class2Param, const String& strArg)
@@ -127,7 +127,7 @@ bool V8TestCallback::callbackWithTestObjectParam(TestObj* class2Param, const Str
};
bool callbackReturnValue = false;
- return !invokeCallback(m_callback.newLocal(isolate), 2, argv, callbackReturnValue, scriptExecutionContext());
+ return !invokeCallback(m_callback.newLocal(isolate), 2, argv, callbackReturnValue, scriptExecutionContext(), isolate);
}
bool V8TestCallback::callbackWithStringList(RefPtr<DOMStringList> listParam)
@@ -156,7 +156,7 @@ bool V8TestCallback::callbackWithStringList(RefPtr<DOMStringList> listParam)
};
bool callbackReturnValue = false;
- return !invokeCallback(m_callback.newLocal(isolate), 1, argv, callbackReturnValue, scriptExecutionContext());
+ return !invokeCallback(m_callback.newLocal(isolate), 1, argv, callbackReturnValue, scriptExecutionContext(), isolate);
}
bool V8TestCallback::callbackWithBoolean(bool boolParam)
@@ -185,7 +185,7 @@ bool V8TestCallback::callbackWithBoolean(bool boolParam)
};
bool callbackReturnValue = false;
- return !invokeCallback(m_callback.newLocal(isolate), 1, argv, callbackReturnValue, scriptExecutionContext());
+ return !invokeCallback(m_callback.newLocal(isolate), 1, argv, callbackReturnValue, scriptExecutionContext(), isolate);
}
bool V8TestCallback::callbackWithSequence(const Vector<RefPtr<TestObj> >& sequenceParam)
@@ -214,7 +214,7 @@ bool V8TestCallback::callbackWithSequence(const Vector<RefPtr<TestObj> >& sequen
};
bool callbackReturnValue = false;
- return !invokeCallback(m_callback.newLocal(isolate), 1, argv, callbackReturnValue, scriptExecutionContext());
+ return !invokeCallback(m_callback.newLocal(isolate), 1, argv, callbackReturnValue, scriptExecutionContext(), isolate);
}
bool V8TestCallback::callbackWithThisArg(ScriptValue thisValue, int param)
@@ -250,7 +250,7 @@ bool V8TestCallback::callbackWithThisArg(ScriptValue thisValue, int param)
};
bool callbackReturnValue = false;
- return !invokeCallback(m_callback.newLocal(isolate), v8::Handle<v8::Object>::Cast(thisHandle), 1, argv, callbackReturnValue, scriptExecutionContext());
+ return !invokeCallback(m_callback.newLocal(isolate), v8::Handle<v8::Object>::Cast(thisHandle), 1, argv, callbackReturnValue, scriptExecutionContext(), isolate);
}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698