summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/WebCore/bridge/qt/qt_pixmapruntime.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/WebCore/bridge/qt/qt_pixmapruntime.cpp b/Source/WebCore/bridge/qt/qt_pixmapruntime.cpp
index f50465979..1ddf4fdf3 100644
--- a/Source/WebCore/bridge/qt/qt_pixmapruntime.cpp
+++ b/Source/WebCore/bridge/qt/qt_pixmapruntime.cpp
@@ -249,14 +249,16 @@ JSClassRef QtPixmapRuntime::getClassRef()
{
static const JSStaticValue staticValues[] = {
{ "width", getPixmapWidth, 0, 0 },
- { "height", getPixmapHeight, 0, 0 }
+ { "height", getPixmapHeight, 0, 0 },
+ { 0, 0, 0, 0}
};
static const JSStaticFunction staticFunctions[] = {
{ "assignToHTMLImageElement", assignToHTMLImageElement, 0 },
{ "toDataUrl", pixmapToDataUrl, 0 },
{ "toImageData", pixmapToImageData, 0 },
- { "toString", pixmapToString, 0 }
+ { "toString", pixmapToString, 0 },
+ { 0, 0, 0 }
};
static const JSClassDefinition classDefinition = {