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

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

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: MessagePort. Created 7 years 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/V8Float64Array.cpp
diff --git a/Source/bindings/tests/results/V8Float64Array.cpp b/Source/bindings/tests/results/V8Float64Array.cpp
index a1ed9cc8b40900ae1d21774d2eddc85453302e0c..28d2475eada84b0f4dc45fa56fe8bb0b9e23880c 100644
--- a/Source/bindings/tests/results/V8Float64Array.cpp
+++ b/Source/bindings/tests/results/V8Float64Array.cpp
@@ -84,6 +84,7 @@ template <typename T> void V8_USE(T) { }
static void fooMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
{
+ ExceptionState exceptionState(ExceptionState::ExecutionContext, "foo", "Float64Array", info.Holder(), info.GetIsolate());
if (UNLIKELY(info.Length() < 1)) {
throwTypeError(ExceptionMessages::failedToExecute("foo", "Float64Array", ExceptionMessages::notEnoughArguments(1, info.Length())), info.GetIsolate());
sof 2013/12/03 16:04:29 Not for here, but reusing the exceptionState above
Mike West 2013/12/04 08:42:19 Yes. I'll fix these in a subsequent CL (or you can
return;
@@ -102,6 +103,7 @@ static void fooMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
static void setMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
{
+ ExceptionState exceptionState(ExceptionState::ExecutionContext, "set", "Float64Array", info.Holder(), info.GetIsolate());
setWebGLArrayHelper<Float64Array, V8Float64Array>(info);
}

Powered by Google App Engine
This is Rietveld 408576698