diff options
author | Andreas Kling <andreas.kling@nokia.com> | 2011-06-06 13:52:33 +0200 |
---|---|---|
committer | Andreas Kling <andreas.kling@nokia.com> | 2011-06-06 13:52:41 +0200 |
commit | d9e9e64d0ae957c453d45a61bb45be3646bc853d (patch) | |
tree | 7a9248dc805d62db4172dcf54c14674c7c9148f6 | |
parent | e62f24018fee11831cbf66e9608d0ab82917c8ee (diff) |
Updated WebKit to cbc99535043a2abc98d6701943595f52fbaf5b19
Reviewed-by: Alexis Menard
-rw-r--r-- | src/3rdparty/webkit/.tag | 2 | ||||
-rw-r--r-- | src/3rdparty/webkit/Source/WebKit/qt/ChangeLog | 10 | ||||
-rw-r--r-- | src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp | 4 | ||||
-rw-r--r-- | src/3rdparty/webkit/VERSION | 2 |
4 files changed, 14 insertions, 4 deletions
diff --git a/src/3rdparty/webkit/.tag b/src/3rdparty/webkit/.tag index 71b9b1b2fe..83f3aacfc9 100644 --- a/src/3rdparty/webkit/.tag +++ b/src/3rdparty/webkit/.tag @@ -1 +1 @@ -4e7dfbab30278b0427e699baaadbf3e5aab88203 +cbc99535043a2abc98d6701943595f52fbaf5b19 diff --git a/src/3rdparty/webkit/Source/WebKit/qt/ChangeLog b/src/3rdparty/webkit/Source/WebKit/qt/ChangeLog index 18a555b711..f923b8a773 100644 --- a/src/3rdparty/webkit/Source/WebKit/qt/ChangeLog +++ b/src/3rdparty/webkit/Source/WebKit/qt/ChangeLog @@ -2,6 +2,16 @@ Reviewed by Andreas Kling. + [Qt] Warning fixes on comparisons between a signed and an unsigned. + + * WebCoreSupport/DumpRenderTreeSupportQt.cpp: + (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo): + (DumpRenderTreeSupportQt::nodesFromRect): + +2011-06-03 Alexis Menard <alexis.menard@openbossa.org> + + Reviewed by Andreas Kling. + To support building namespaced Qt, we require that forward-declarations of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE. diff --git a/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp b/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp index e55afe870c..9d0b4f9ba3 100644 --- a/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp +++ b/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp @@ -568,7 +568,7 @@ QVariantMap DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo(const QWe return res; RefPtr<WebCore::CSSComputedStyleDeclaration> style = computedStyle(webElement, true); - for (int i = 0; i < style->length(); i++) { + for (unsigned i = 0; i < style->length(); i++) { QString name = style->item(i); QString value = (static_cast<WebCore::CSSStyleDeclaration*>(style.get()))->getPropertyValue(name); res[convertToPropertyName(name)] = QVariant(value); @@ -967,7 +967,7 @@ QVariantList DumpRenderTreeSupportQt::nodesFromRect(const QWebElement& document, if (!doc) return res; RefPtr<NodeList> nodes = doc->nodesFromRect(x, y, top, right, bottom, left, ignoreClipping); - for (int i = 0; i < nodes->length(); i++) { + for (unsigned i = 0; i < nodes->length(); i++) { // QWebElement will be null if the Node is not an HTML Element if (nodes->item(i)->isHTMLElement()) res << QVariant::fromValue(QWebElement(nodes->item(i))); diff --git a/src/3rdparty/webkit/VERSION b/src/3rdparty/webkit/VERSION index 5f803b4620..76a0a7fa71 100644 --- a/src/3rdparty/webkit/VERSION +++ b/src/3rdparty/webkit/VERSION @@ -4,4 +4,4 @@ This is a snapshot of the Qt port of WebKit from and has the sha1 checksum - 4e7dfbab30278b0427e699baaadbf3e5aab88203 + cbc99535043a2abc98d6701943595f52fbaf5b19 |