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

Unified Diff: test/cctest/test-accessors.cc

Issue 91503002: Mark deprecated APIs with relatively little use as deprecated (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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
« no previous file with comments | « src/extensions/statistics-extension.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-accessors.cc
diff --git a/test/cctest/test-accessors.cc b/test/cctest/test-accessors.cc
index 0dbac3fa63cc9297fa6e4abc7bf532da0bcf5a31..142687b30bee94c1a2fc0c64e3e1979a770ce1a1 100644
--- a/test/cctest/test-accessors.cc
+++ b/test/cctest/test-accessors.cc
@@ -460,7 +460,7 @@ THREADED_TEST(Regress1054726) {
static void AllocGetter(Local<String> name,
const v8::PropertyCallbackInfo<v8::Value>& info) {
ApiTestFuzzer::Fuzz();
- info.GetReturnValue().Set(v8::Array::New(1000));
+ info.GetReturnValue().Set(v8::Array::New(info.GetIsolate(), 1000));
}
@@ -543,7 +543,7 @@ THREADED_TEST(HandleScopeSegment) {
void JSONStringifyEnumerator(const v8::PropertyCallbackInfo<v8::Array>& info) {
- v8::Handle<v8::Array> array = v8::Array::New(1);
+ v8::Handle<v8::Array> array = v8::Array::New(info.GetIsolate(), 1);
array->Set(0, v8_str("regress"));
info.GetReturnValue().Set(array);
}
« no previous file with comments | « src/extensions/statistics-extension.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698