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

Unified Diff: Source/bindings/core/v8/Dictionary.h

Issue 1071963002: Replace Handle<> with Local<> in bindings/core/v8 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 | « Source/bindings/core/v8/DOMDataStore.h ('k') | Source/bindings/core/v8/Dictionary.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/Dictionary.h
diff --git a/Source/bindings/core/v8/Dictionary.h b/Source/bindings/core/v8/Dictionary.h
index 1408cc8aad8da8d3802361854d4496f4423ad125..4bb9a55759b84b22e2ad344d4f0ba0b1ee2d5909 100644
--- a/Source/bindings/core/v8/Dictionary.h
+++ b/Source/bindings/core/v8/Dictionary.h
@@ -49,7 +49,7 @@ class CORE_EXPORT Dictionary final {
ALLOW_ONLY_INLINE_ALLOCATION();
public:
Dictionary();
- Dictionary(const v8::Handle<v8::Value>& options, v8::Isolate*, ExceptionState&);
+ Dictionary(const v8::Local<v8::Value>& options, v8::Isolate*, ExceptionState&);
~Dictionary();
Dictionary& operator=(const Dictionary&);
@@ -60,7 +60,7 @@ public:
bool get(const String&, Dictionary&) const;
bool get(const String&, v8::Local<v8::Value>&) const;
- v8::Handle<v8::Value> v8Value() const { return m_options; }
+ v8::Local<v8::Value> v8Value() const { return m_options; }
class CORE_EXPORT ConversionContext {
public:
@@ -121,14 +121,14 @@ public:
private:
bool toObject(v8::Local<v8::Object>&) const;
- v8::Handle<v8::Value> m_options;
+ v8::Local<v8::Value> m_options;
v8::Isolate* m_isolate;
ExceptionState* m_exceptionState;
};
template<>
struct NativeValueTraits<Dictionary> {
- static inline Dictionary nativeValue(v8::Isolate* isolate, v8::Handle<v8::Value> value, ExceptionState& exceptionState)
+ static inline Dictionary nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState)
{
return Dictionary(value, isolate, exceptionState);
}
« no previous file with comments | « Source/bindings/core/v8/DOMDataStore.h ('k') | Source/bindings/core/v8/Dictionary.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698