summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/NPV8Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/NPV8Object.h')
-rw-r--r--WebCore/bindings/v8/NPV8Object.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/WebCore/bindings/v8/NPV8Object.h b/WebCore/bindings/v8/NPV8Object.h
index b6fecce..2a81181 100644
--- a/WebCore/bindings/v8/NPV8Object.h
+++ b/WebCore/bindings/v8/NPV8Object.h
@@ -45,12 +45,12 @@
#include <v8.h>
namespace WebCore {
- class DOMWindow;
- static const int npObjectInternalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
+class DOMWindow;
- WrapperTypeInfo* npObjectTypeInfo();
-}
+static const int npObjectInternalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
+
+WrapperTypeInfo* npObjectTypeInfo();
extern NPClass* npScriptObjectClass;
@@ -59,7 +59,7 @@ extern NPClass* npScriptObjectClass;
struct V8NPObject {
NPObject object;
v8::Persistent<v8::Object> v8Object;
- WebCore::DOMWindow* rootObject;
+ DOMWindow* rootObject;
};
struct PrivateIdentifier {
@@ -70,8 +70,10 @@ struct PrivateIdentifier {
bool isString;
};
-NPObject* npCreateV8ScriptObject(NPP, v8::Handle<v8::Object>, WebCore::DOMWindow*);
+NPObject* npCreateV8ScriptObject(NPP, v8::Handle<v8::Object>, DOMWindow*);
NPObject* v8ObjectToNPObject(v8::Handle<v8::Object>);
+} // namespace WebCore
+
#endif // NPV8Object_h