Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / bindings / v8 / CustomElementConstructorBuilder.h
index 21f81e8..623244d 100644 (file)
@@ -49,7 +49,6 @@ class Document;
 class Element;
 class ExceptionState;
 class QualifiedName;
-class ScriptState;
 class V8PerContextData;
 struct WrapperTypeInfo;
 
@@ -82,7 +81,7 @@ private:
     bool prototypeIsValid(const AtomicString& type, ExceptionState&) const;
     v8::Handle<v8::Function> retrieveCallback(v8::Isolate*, const char* name);
 
-    v8::Handle<v8::Context> m_context;
+    RefPtr<ScriptState> m_scriptState;
     const Dictionary* m_options;
     v8::Handle<v8::Object> m_prototype;
     const WrapperTypeInfo* m_wrapperType;