summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2016-02-03 17:20:28 +0300
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2016-02-04 12:58:47 +0000
commitbe8e169ba38c84562194906047d0da04bf3ae91a (patch)
tree545836e4ce6f060c7da04e308d6e566ae6146dd6
parent629e101715f3e5b58a3b0ee54295af4d957d7e78 (diff)
downloadqtwebkit-be8e169ba38c84562194906047d0da04bf3ae91a.tar.gz
Fixed unfinished phrase in documentation of evaluateJavaScript.
Change-Id: I5b5f43c68feedbace330494e7eb051cfe8a54128 Reviewed-by: Dmitry Shachnev <mitya57@gmail.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-rw-r--r--Source/WebKit/qt/WidgetApi/qwebframe.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/WebKit/qt/WidgetApi/qwebframe.cpp b/Source/WebKit/qt/WidgetApi/qwebframe.cpp
index 38c649887..dd08725eb 100644
--- a/Source/WebKit/qt/WidgetApi/qwebframe.cpp
+++ b/Source/WebKit/qt/WidgetApi/qwebframe.cpp
@@ -910,10 +910,9 @@ void QWebFrame::print(QPrinter *printer) const
Evaluates the JavaScript defined by \a scriptSource using this frame as context
and returns the result of the last executed statement.
- \note This method may be very inefficient if \a scriptSource returns
-
- For example, evaluation of the next innocuously looking code may take a lot
- of CPU and memory to execute:
+ \note This method may be very inefficient if \a scriptSource returns a DOM element
+ as a result. For example, evaluation of the next innocuously looking code may take
+ a lot of CPU and memory to execute:
\code
var img = document.createElement('img');