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

Unified Diff: content/renderer/pepper/v8_var_converter.h

Issue 1113783002: Use Local instead of Handle in src/content/* (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 | « content/renderer/pepper/resource_converter.cc ('k') | content/renderer/pepper/v8_var_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/v8_var_converter.h
diff --git a/content/renderer/pepper/v8_var_converter.h b/content/renderer/pepper/v8_var_converter.h
index d270832e3a11043d8484029e1c1d11715d65e3d5..2a5a9f9c85a497f81e7d53535b67bacd6d52d87c 100644
--- a/content/renderer/pepper/v8_var_converter.h
+++ b/content/renderer/pepper/v8_var_converter.h
@@ -36,8 +36,8 @@ class CONTENT_EXPORT V8VarConverter {
// Converts the given PP_Var to a v8::Value. True is returned upon success.
bool ToV8Value(const PP_Var& var,
- v8::Handle<v8::Context> context,
- v8::Handle<v8::Value>* result);
+ v8::Local<v8::Context> context,
+ v8::Local<v8::Value>* result);
struct VarResult {
public:
@@ -66,16 +66,16 @@ class CONTENT_EXPORT V8VarConverter {
// the conversion can occur synchronously, |callback| will not be run,
// otherwise it will be run.
VarResult FromV8Value(
- v8::Handle<v8::Value> val,
- v8::Handle<v8::Context> context,
+ v8::Local<v8::Value> val,
+ v8::Local<v8::Context> context,
const base::Callback<void(const ppapi::ScopedPPVar&, bool)>& callback);
- bool FromV8ValueSync(v8::Handle<v8::Value> val,
- v8::Handle<v8::Context> context,
+ bool FromV8ValueSync(v8::Local<v8::Value> val,
+ v8::Local<v8::Context> context,
ppapi::ScopedPPVar* result_var);
private:
// Returns true on success, false on failure.
- bool FromV8ValueInternal(v8::Handle<v8::Value> val,
- v8::Handle<v8::Context> context,
+ bool FromV8ValueInternal(v8::Local<v8::Value> val,
+ v8::Local<v8::Context> context,
ppapi::ScopedPPVar* result_var);
PP_Instance instance_;
« no previous file with comments | « content/renderer/pepper/resource_converter.cc ('k') | content/renderer/pepper/v8_var_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698