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

Unified Diff: content/child/v8_value_converter_impl.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 | « no previous file | content/child/v8_value_converter_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/v8_value_converter_impl.h
diff --git a/content/child/v8_value_converter_impl.h b/content/child/v8_value_converter_impl.h
index c150d5a2e403f259a6300d183553cff71bb6bfea..dcb4fff9966317410c081b4ca3ee0fb3616ad095 100644
--- a/content/child/v8_value_converter_impl.h
+++ b/content/child/v8_value_converter_impl.h
@@ -31,11 +31,11 @@ class CONTENT_EXPORT V8ValueConverterImpl : public V8ValueConverter {
void SetFunctionAllowed(bool val) override;
void SetStripNullFromObjects(bool val) override;
void SetStrategy(Strategy* strategy) override;
- v8::Handle<v8::Value> ToV8Value(
+ v8::Local<v8::Value> ToV8Value(
const base::Value* value,
- v8::Handle<v8::Context> context) const override;
- base::Value* FromV8Value(v8::Handle<v8::Value> value,
- v8::Handle<v8::Context> context) const override;
+ v8::Local<v8::Context> context) const override;
+ base::Value* FromV8Value(v8::Local<v8::Value> value,
+ v8::Local<v8::Context> context) const override;
private:
friend class ScopedAvoidIdentityHashForTesting;
@@ -43,32 +43,32 @@ class CONTENT_EXPORT V8ValueConverterImpl : public V8ValueConverter {
class FromV8ValueState;
v8::Local<v8::Value> ToV8ValueImpl(v8::Isolate* isolate,
- v8::Handle<v8::Object> creation_context,
+ v8::Local<v8::Object> creation_context,
const base::Value* value) const;
- v8::Handle<v8::Value> ToV8Array(v8::Isolate* isolate,
- v8::Handle<v8::Object> creation_context,
+ v8::Local<v8::Value> ToV8Array(v8::Isolate* isolate,
+ v8::Local<v8::Object> creation_context,
const base::ListValue* list) const;
- v8::Handle<v8::Value> ToV8Object(
+ v8::Local<v8::Value> ToV8Object(
v8::Isolate* isolate,
- v8::Handle<v8::Object> creation_context,
+ v8::Local<v8::Object> creation_context,
const base::DictionaryValue* dictionary) const;
- v8::Handle<v8::Value> ToArrayBuffer(v8::Isolate* isolate,
- v8::Handle<v8::Object> creation_context,
+ v8::Local<v8::Value> ToArrayBuffer(v8::Isolate* isolate,
+ v8::Local<v8::Object> creation_context,
const base::BinaryValue* value) const;
base::Value* FromV8ValueImpl(FromV8ValueState* state,
- v8::Handle<v8::Value> value,
+ v8::Local<v8::Value> value,
v8::Isolate* isolate) const;
- base::Value* FromV8Array(v8::Handle<v8::Array> array,
+ base::Value* FromV8Array(v8::Local<v8::Array> array,
FromV8ValueState* state,
v8::Isolate* isolate) const;
// This will convert objects of type ArrayBuffer or any of the
// ArrayBufferView subclasses.
- base::Value* FromV8ArrayBuffer(v8::Handle<v8::Object> val,
+ base::Value* FromV8ArrayBuffer(v8::Local<v8::Object> val,
v8::Isolate* isolate) const;
- base::Value* FromV8Object(v8::Handle<v8::Object> object,
+ base::Value* FromV8Object(v8::Local<v8::Object> object,
FromV8ValueState* state,
v8::Isolate* isolate) const;
« no previous file with comments | « no previous file | content/child/v8_value_converter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698