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

Unified Diff: extensions/renderer/v8_schema_registry.h

Issue 1115563002: extensions/renderer: Use v8::Local instead of v8::Handle. (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 | « extensions/renderer/v8_context_native_handler.cc ('k') | extensions/renderer/v8_schema_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/v8_schema_registry.h
diff --git a/extensions/renderer/v8_schema_registry.h b/extensions/renderer/v8_schema_registry.h
index b8c50ead2763065ed7139adfffef3c2803159931..2368a6a98bc1f54ff29429fae1f9751b9cf134d4 100644
--- a/extensions/renderer/v8_schema_registry.h
+++ b/extensions/renderer/v8_schema_registry.h
@@ -29,15 +29,15 @@ class V8SchemaRegistry {
scoped_ptr<NativeHandler> AsNativeHandler();
// Returns a v8::Array with all the schemas for the APIs in |apis|.
- v8::Handle<v8::Array> GetSchemas(const std::vector<std::string>& apis);
+ v8::Local<v8::Array> GetSchemas(const std::vector<std::string>& apis);
// Returns a v8::Object for the schema for |api|, possibly from the cache.
- v8::Handle<v8::Object> GetSchema(const std::string& api);
+ v8::Local<v8::Object> GetSchema(const std::string& api);
private:
// Gets the separate context that backs the registry, creating a new one if
// if necessary. Will also initialize schema_cache_.
- v8::Handle<v8::Context> GetOrCreateContext(v8::Isolate* isolate);
+ v8::Local<v8::Context> GetOrCreateContext(v8::Isolate* isolate);
// Cache of schemas. Created lazily by GetOrCreateContext.
typedef v8::StdGlobalValueMap<std::string, v8::Object> SchemaCache;
« no previous file with comments | « extensions/renderer/v8_context_native_handler.cc ('k') | extensions/renderer/v8_schema_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698