summaryrefslogtreecommitdiff
path: root/Source/WebKit/qt/docs/webkitsnippets
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-08-12 10:06:25 +0200
committerAllan Sandfeld Jensen <allan.jensen@digia.com>2014-08-12 10:32:45 +0200
commiteb611b3f830cb4af80baabadc1f4e71f284ab786 (patch)
treefa83539a27acbd4fca8be33f60470cea575254c6 /Source/WebKit/qt/docs/webkitsnippets
parent9548b912de9e4c11c3326708537c81d1b6861bfb (diff)
downloadqtwebkit-eb611b3f830cb4af80baabadc1f4e71f284ab786.tar.gz
Fix case in documentation of qobjectbridge bindings
The method toDataURL does not work, but calling toDataUrl does. This patch updates the documentation to match the exported method name. Task-number: QTBUG-40268 Change-Id: Icf0ee233df141d43367da045834e6a42c9afb31a Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'Source/WebKit/qt/docs/webkitsnippets')
-rw-r--r--Source/WebKit/qt/docs/webkitsnippets/qtwebkit_bridge_snippets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/qt/docs/webkitsnippets/qtwebkit_bridge_snippets.cpp b/Source/WebKit/qt/docs/webkitsnippets/qtwebkit_bridge_snippets.cpp
index 27018af33..14331d195 100644
--- a/Source/WebKit/qt/docs/webkitsnippets/qtwebkit_bridge_snippets.cpp
+++ b/Source/WebKit/qt/docs/webkitsnippets/qtwebkit_bridge_snippets.cpp
@@ -13,7 +13,7 @@ void wrapInFunction()
{
width: ...,
height: ...,
- toDataURL: function() { ... },
+ toDataUrl: function() { ... },
assignToHTMLImageElement: function(element) { ... }
toImageData: function() { ... }
}