Index: gin/dictionary.h |
diff --git a/gin/dictionary.h b/gin/dictionary.h |
index 972108fbb438f72608f4f9a52d4fd7e6d6e2f218..efebfa85a702666d6efe8fe4285caafc858e49f1 100644 |
--- a/gin/dictionary.h |
+++ b/gin/dictionary.h |
@@ -25,14 +25,14 @@ namespace gin { |
class GIN_EXPORT Dictionary { |
public: |
explicit Dictionary(v8::Isolate* isolate); |
- Dictionary(v8::Isolate* isolate, v8::Handle<v8::Object> object); |
+ Dictionary(v8::Isolate* isolate, v8::Local<v8::Object> object); |
~Dictionary(); |
static Dictionary CreateEmpty(v8::Isolate* isolate); |
template<typename T> |
bool Get(const std::string& key, T* out) { |
- v8::Handle<v8::Value> val = object_->Get(StringToV8(isolate_, key)); |
+ v8::Local<v8::Value> val = object_->Get(StringToV8(isolate_, key)); |
return ConvertFromV8(isolate_, val, out); |
} |
@@ -48,15 +48,15 @@ class GIN_EXPORT Dictionary { |
// TODO(aa): Remove this. Instead, get via FromV8(), Set(), and Get(). |
v8::Isolate* isolate_; |
- v8::Handle<v8::Object> object_; |
+ v8::Local<v8::Object> object_; |
}; |
template<> |
struct GIN_EXPORT Converter<Dictionary> { |
- static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate, |
+ static v8::Local<v8::Value> ToV8(v8::Isolate* isolate, |
Dictionary val); |
static bool FromV8(v8::Isolate* isolate, |
- v8::Handle<v8::Value> val, |
+ v8::Local<v8::Value> val, |
Dictionary* out); |
}; |