Title: [143590] trunk/Source/WebKit/blackberry
Revision
143590
Author
[email protected]
Date
2013-02-21 05:10:25 -0800 (Thu, 21 Feb 2013)

Log Message

[BlackBerry] Element::getAttributeItem() no longer returns a mutable attribute
https://bugs.webkit.org/show_bug.cgi?id=110439

Patch by Alberto Garcia <[email protected]> on 2013-02-21
Reviewed by Antonio Gomes.

This was changed in r142827.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::webContext):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/Api/WebPage.cpp (143589 => 143590)


--- trunk/Source/WebKit/blackberry/Api/WebPage.cpp	2013-02-21 12:40:22 UTC (rev 143589)
+++ trunk/Source/WebKit/blackberry/Api/WebPage.cpp	2013-02-21 13:10:25 UTC (rev 143590)
@@ -2283,7 +2283,7 @@
     if (Node* linkNode = node->enclosingLinkEventParentOrSelf()) {
         KURL href;
         if (linkNode->isLink() && linkNode->hasAttributes()) {
-            if (Attribute* attribute = static_cast<Element*>(linkNode)->getAttributeItem(HTMLNames::hrefAttr))
+            if (const Attribute* attribute = static_cast<Element*>(linkNode)->getAttributeItem(HTMLNames::hrefAttr))
                 href = ""
         }
 

Modified: trunk/Source/WebKit/blackberry/ChangeLog (143589 => 143590)


--- trunk/Source/WebKit/blackberry/ChangeLog	2013-02-21 12:40:22 UTC (rev 143589)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2013-02-21 13:10:25 UTC (rev 143590)
@@ -1,5 +1,17 @@
 2013-02-21  Alberto Garcia  <[email protected]>
 
+        [BlackBerry] Element::getAttributeItem() no longer returns a mutable attribute
+        https://bugs.webkit.org/show_bug.cgi?id=110439
+
+        Reviewed by Antonio Gomes.
+
+        This was changed in r142827.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::webContext):
+
+2013-02-21  Alberto Garcia  <[email protected]>
+
         [BlackBerry] willComposite() and didComposite() are now in InspectorController
         https://bugs.webkit.org/show_bug.cgi?id=110343
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to