Title: [112957] trunk/Source/WebKit/blackberry
Revision
112957
Author
[email protected]
Date
2012-04-02 16:01:10 -0700 (Mon, 02 Apr 2012)

Log Message

[BlackBerry] Adapt WebPagePrivate::webContext to the API change of r109570
https://bugs.webkit.org/show_bug.cgi?id=82945

Patch by Jacky Jiang <[email protected]> on 2012-04-02
Reviewed by Rob Buis.

RIM PR: 147163
Adapt WebPagePrivate::webContext to the API change of the security
cherry-pick of r109570 and r112023.

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

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/Api/WebPage.cpp (112956 => 112957)


--- trunk/Source/WebKit/blackberry/Api/WebPage.cpp	2012-04-02 22:56:58 UTC (rev 112956)
+++ trunk/Source/WebKit/blackberry/Api/WebPage.cpp	2012-04-02 23:01:10 UTC (rev 112957)
@@ -2059,7 +2059,7 @@
     if (Node* linkNode = node->enclosingLinkEventParentOrSelf()) {
         KURL href;
         if (linkNode->isLink() && linkNode->hasAttributes()) {
-            if (Attribute* attribute = linkNode->attributes()->getAttributeItem(HTMLNames::hrefAttr))
+            if (Attribute* attribute = static_cast<Element*>(linkNode)->getAttributeItem(HTMLNames::hrefAttr))
                 href = ""
         }
 

Modified: trunk/Source/WebKit/blackberry/ChangeLog (112956 => 112957)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-04-02 22:56:58 UTC (rev 112956)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-04-02 23:01:10 UTC (rev 112957)
@@ -1,3 +1,17 @@
+2012-04-02  Jacky Jiang  <[email protected]>
+
+        [BlackBerry] Adapt WebPagePrivate::webContext to the API change of r109570
+        https://bugs.webkit.org/show_bug.cgi?id=82945
+
+        Reviewed by Rob Buis.
+
+        RIM PR: 147163
+        Adapt WebPagePrivate::webContext to the API change of the security
+        cherry-pick of r109570 and r112023.
+
+        * Api/WebPage.cpp:
+        (BlackBerry::WebKit::WebPagePrivate::webContext):
+
 2012-04-02  Lianghui Chen  <[email protected]>
 
         [BlackBerry] Set ResourceRequest TargetType in WebPagePrivate::load()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to