summaryrefslogtreecommitdiffstats
path: root/WebCore/bridge/qt/qt_pixmapruntime.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bridge/qt/qt_pixmapruntime.h')
-rw-r--r--WebCore/bridge/qt/qt_pixmapruntime.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/bridge/qt/qt_pixmapruntime.h b/WebCore/bridge/qt/qt_pixmapruntime.h
index 06e74eb..e2ae5e9 100644
--- a/WebCore/bridge/qt/qt_pixmapruntime.h
+++ b/WebCore/bridge/qt/qt_pixmapruntime.h
@@ -42,7 +42,8 @@ public:
int height() const;
QPixmap toPixmap();
QImage toImage();
- static JSObject* createRuntimeObject(ExecState*, PassRefPtr<RootObject>, const QVariant&);
+ RuntimeObject* newRuntimeObject(ExecState* exec);
+ static JSObject* createPixmapRuntimeObject(ExecState*, PassRefPtr<RootObject>, const QVariant&);
static QVariant variantFromObject(JSObject*, QMetaType::Type hint);
static bool canHandle(QMetaType::Type hint);
};