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

Unified Diff: gin/test/file.cc

Issue 1112923003: Replace Handle<> with Local in remaining gin/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « gin/shell_runner.cc ('k') | gin/test/file_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/test/file.cc
diff --git a/gin/test/file.cc b/gin/test/file.cc
index 0ed24e3e06bd87c0a3f784c4d634700aabd5cc5d..adcb3413bb68b064b81231cf3427dd644bebc3b1 100644
--- a/gin/test/file.cc
+++ b/gin/test/file.cc
@@ -23,7 +23,7 @@ namespace gin {
namespace {
-v8::Handle<v8::Value> ReadFileToString(gin::Arguments* args) {
+v8::Local<v8::Value> ReadFileToString(gin::Arguments* args) {
std::string filename;
if (!args->GetNext(&filename))
return v8::Null(args->isolate());
@@ -36,7 +36,7 @@ v8::Handle<v8::Value> ReadFileToString(gin::Arguments* args) {
return gin::Converter<std::string>::ToV8(args->isolate(), contents);
}
-v8::Handle<v8::Value> GetSourceRootDirectory(gin::Arguments* args) {
+v8::Local<v8::Value> GetSourceRootDirectory(gin::Arguments* args) {
base::FilePath path;
if (!PathService::Get(base::DIR_SOURCE_ROOT, &path))
return v8::Null(args->isolate());
@@ -44,7 +44,7 @@ v8::Handle<v8::Value> GetSourceRootDirectory(gin::Arguments* args) {
path.AsUTF8Unsafe());
}
-v8::Handle<v8::Value> GetFilesInDirectory(gin::Arguments* args) {
+v8::Local<v8::Value> GetFilesInDirectory(gin::Arguments* args) {
std::string filename;
if (!args->GetNext(&filename))
return v8::Null(args->isolate());
« no previous file with comments | « gin/shell_runner.cc ('k') | gin/test/file_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698