Index: third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.cpp |
index 865447da06afd6001c032b795ed6746876c2bc32..39561d575c5e187259b069cf6977fff63e25926a 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PrivateProperty.cpp |
@@ -12,12 +12,9 @@ |
namespace blink { |
v8::Local<v8::Value> V8PrivateProperty::Symbol::getFromMainWorld( |
- ScriptState* scriptState, |
ScriptWrappable* scriptWrappable) { |
- v8::Local<v8::Object> wrapper = |
- scriptWrappable->mainWorldWrapper(scriptState->isolate()); |
- return wrapper.IsEmpty() ? v8::Local<v8::Value>() |
- : get(scriptState->context(), wrapper); |
+ v8::Local<v8::Object> wrapper = scriptWrappable->mainWorldWrapper(m_isolate); |
+ return wrapper.IsEmpty() ? v8::Local<v8::Value>() : getOrEmpty(wrapper); |
} |
v8::Local<v8::Private> V8PrivateProperty::createV8Private(v8::Isolate* isolate, |