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

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

Issue 1113523002: Use Local<> instead of Handle<> (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/DOMWrapperMap.h ('k') | Source/bindings/core/v8/DictionaryHelperForCore.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/DOMWrapperWorld.h
diff --git a/Source/bindings/core/v8/DOMWrapperWorld.h b/Source/bindings/core/v8/DOMWrapperWorld.h
index 8b85b5e16a6edfd2f47a3a98b171cbfa02d028cf..c15b7f32316d4ccd64ae7221da0baa022e347578 100644
--- a/Source/bindings/core/v8/DOMWrapperWorld.h
+++ b/Source/bindings/core/v8/DOMWrapperWorld.h
@@ -68,7 +68,7 @@ public:
static bool isolatedWorldsExist() { return isolatedWorldCount; }
static void allWorldsInMainThread(Vector<RefPtr<DOMWrapperWorld>>& worlds);
- static DOMWrapperWorld& world(v8::Handle<v8::Context> context)
+ static DOMWrapperWorld& world(v8::Local<v8::Context> context)
{
return ScriptState::from(context)->world();
}
@@ -126,7 +126,7 @@ public:
private:
class DOMObjectHolderBase {
public:
- DOMObjectHolderBase(v8::Isolate* isolate, v8::Handle<v8::Value> wrapper)
+ DOMObjectHolderBase(v8::Isolate* isolate, v8::Local<v8::Value> wrapper)
: m_wrapper(isolate, wrapper)
, m_world(0)
{
@@ -148,13 +148,13 @@ private:
template<typename T>
class DOMObjectHolder : public DOMObjectHolderBase {
public:
- static PassOwnPtr<DOMObjectHolder<T>> create(v8::Isolate* isolate, T* object, v8::Handle<v8::Value> wrapper)
+ static PassOwnPtr<DOMObjectHolder<T>> create(v8::Isolate* isolate, T* object, v8::Local<v8::Value> wrapper)
{
return adoptPtr(new DOMObjectHolder(isolate, object, wrapper));
}
private:
- DOMObjectHolder(v8::Isolate* isolate, T* object, v8::Handle<v8::Value> wrapper)
+ DOMObjectHolder(v8::Isolate* isolate, T* object, v8::Local<v8::Value> wrapper)
: DOMObjectHolderBase(isolate, wrapper)
, m_object(object)
{
@@ -165,7 +165,7 @@ private:
public:
template<typename T>
- void registerDOMObjectHolder(v8::Isolate* isolate, T* object, v8::Handle<v8::Value> wrapper)
+ void registerDOMObjectHolder(v8::Isolate* isolate, T* object, v8::Local<v8::Value> wrapper)
{
registerDOMObjectHolderInternal(DOMObjectHolder<T>::create(isolate, object, wrapper));
}
« no previous file with comments | « Source/bindings/core/v8/DOMWrapperMap.h ('k') | Source/bindings/core/v8/DictionaryHelperForCore.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698