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

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

Issue 94833002: Remove usage of deprecated V8 APIs from bindings code generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 2d0716d48d471c06b6e5427b042c743c31abfb7b..92710ac9a1b3ff9f23f208482bd26339c0b6fc44 100644
--- a/Source/bindings/tests/results/V8TestCallback.cpp
+++ b/Source/bindings/tests/results/V8TestCallback.cpp
@@ -223,7 +223,7 @@ bool V8TestCallback::callbackWithThisArg(ScriptValue thisValue, int arg)
return true;
}
ASSERT(thisHandle->IsObject());
- v8::Handle<v8::Value> argHandle = v8::Integer::New(arg, isolate);
+ v8::Handle<v8::Value> argHandle = v8::Integer::New(isolate, arg);
if (argHandle.IsEmpty()) {
if (!isScriptControllerTerminating())
CRASH();

Powered by Google App Engine
This is Rietveld 408576698