summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorJanne Koskinen <janne.p.koskinen@digia.com>2010-04-14 12:32:12 (GMT)
committerJanne Koskinen <janne.p.koskinen@digia.com>2010-04-19 17:28:49 (GMT)
commite0314fa999e58a057604cdbd4bd6fdfe5248d75e (patch)
tree9b80b965f31471a30eb84d676bd3cd71ef6e2666 /src/3rdparty
parenta584ce0be29e9cb5cb0b627c71e4147011013418 (diff)
downloadQt-e0314fa999e58a057604cdbd4bd6fdfe5248d75e.zip
Qt-e0314fa999e58a057604cdbd4bd6fdfe5248d75e.tar.gz
Qt-e0314fa999e58a057604cdbd4bd6fdfe5248d75e.tar.bz2
WINSCW compile fix for WebCore
WINSCW fails to parse function pointer name if it is not introduced before use. Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/webkit/WebCore/bindings/js/JSDOMGlobalObject.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/WebCore/bindings/js/JSDOMGlobalObject.h b/src/3rdparty/webkit/WebCore/bindings/js/JSDOMGlobalObject.h
index 8eb55c1..2ad437b 100644
--- a/src/3rdparty/webkit/WebCore/bindings/js/JSDOMGlobalObject.h
+++ b/src/3rdparty/webkit/WebCore/bindings/js/JSDOMGlobalObject.h
@@ -70,6 +70,9 @@ namespace WebCore {
virtual const JSC::ClassInfo* classInfo() const { return &s_info; }
static const JSC::ClassInfo s_info;
+ private:
+ static void destroyJSDOMGlobalObjectData(void*);
+
protected:
struct JSDOMGlobalObjectData : public JSC::JSGlobalObject::JSGlobalObjectData {
JSDOMGlobalObjectData(DOMWrapperWorld* world, Destructor destructor = destroyJSDOMGlobalObjectData)
@@ -89,8 +92,6 @@ namespace WebCore {
};
private:
- static void destroyJSDOMGlobalObjectData(void*);
-
JSDOMGlobalObjectData* d() const { return static_cast<JSDOMGlobalObjectData*>(JSC::JSVariableObject::d); }
};