| Index: Source/bindings/v8/CustomElementConstructorBuilder.cpp
 | 
| diff --git a/Source/bindings/v8/CustomElementConstructorBuilder.cpp b/Source/bindings/v8/CustomElementConstructorBuilder.cpp
 | 
| index b4040348af991785e2b18fd895d98f3b3157e99a..7aba519f4527650be2c266c382f363d85772d9ba 100644
 | 
| --- a/Source/bindings/v8/CustomElementConstructorBuilder.cpp
 | 
| +++ b/Source/bindings/v8/CustomElementConstructorBuilder.cpp
 | 
| @@ -210,7 +210,7 @@ bool CustomElementConstructorBuilder::createConstructor(Document* document, Cust
 | 
|  
 | 
|  bool CustomElementConstructorBuilder::prototypeIsValid(const AtomicString& type, ExceptionState& es) const
 | 
|  {
 | 
| -    if (m_prototype->InternalFieldCount() || !m_prototype->GetHiddenValue(V8HiddenPropertyName::customElementIsInterfacePrototypeObject()).IsEmpty()) {
 | 
| +    if (m_prototype->InternalFieldCount() || !m_prototype->GetHiddenValue(V8HiddenPropertyName::customElementIsInterfacePrototypeObject(m_context->GetIsolate())).IsEmpty()) {
 | 
|          CustomElementException::throwException(CustomElementException::PrototypeInUse, type, es);
 | 
|          return false;
 | 
|      }
 | 
| @@ -265,10 +265,10 @@ static void constructCustomElement(const v8::FunctionCallbackInfo<v8::Value>& ar
 | 
|          return;
 | 
|      }
 | 
|  
 | 
| -    Document* document = V8Document::toNative(args.Callee()->GetHiddenValue(V8HiddenPropertyName::customElementDocument()).As<v8::Object>());
 | 
| -    V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, namespaceURI, args.Callee()->GetHiddenValue(V8HiddenPropertyName::customElementNamespaceURI()));
 | 
| -    V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, tagName, args.Callee()->GetHiddenValue(V8HiddenPropertyName::customElementTagName()));
 | 
| -    v8::Handle<v8::Value> maybeType = args.Callee()->GetHiddenValue(V8HiddenPropertyName::customElementType());
 | 
| +    Document* document = V8Document::toNative(args.Callee()->GetHiddenValue(V8HiddenPropertyName::customElementDocument(isolate)).As<v8::Object>());
 | 
| +    V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, namespaceURI, args.Callee()->GetHiddenValue(V8HiddenPropertyName::customElementNamespaceURI(isolate)));
 | 
| +    V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, tagName, args.Callee()->GetHiddenValue(V8HiddenPropertyName::customElementTagName(isolate)));
 | 
| +    v8::Handle<v8::Value> maybeType = args.Callee()->GetHiddenValue(V8HiddenPropertyName::customElementType(isolate));
 | 
|      V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, type, maybeType);
 | 
|  
 | 
|      ExceptionState es(args.GetIsolate());
 | 
| 
 |