Title: [116348] trunk/Source/WebKit/blackberry
Revision
116348
Author
[email protected]
Date
2012-05-07 13:23:38 -0700 (Mon, 07 May 2012)

Log Message

[BlackBerry] Over-scroll image path property should be relative to local application directory
https://bugs.webkit.org/show_bug.cgi?id=85814

Patch by Andrew Lo <[email protected]> on 2012-05-07
Reviewed by Rob Buis.

Over-scroll image path web setting should be relative to the local directory.

* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::ensureOverScrollImage):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/Api/BackingStore.cpp (116347 => 116348)


--- trunk/Source/WebKit/blackberry/Api/BackingStore.cpp	2012-05-07 20:23:07 UTC (rev 116347)
+++ trunk/Source/WebKit/blackberry/Api/BackingStore.cpp	2012-05-07 20:23:38 UTC (rev 116348)
@@ -1207,7 +1207,7 @@
     if (s_overScrollImage && path == s_overScrollImagePath)
         return true;
 
-    std::string imagePath = Platform::Client::get()->getApplicationDirectory() + path;
+    std::string imagePath = Platform::Client::get()->getApplicationLocalDirectory() + path;
 
     SkBitmap bitmap;
 

Modified: trunk/Source/WebKit/blackberry/ChangeLog (116347 => 116348)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-05-07 20:23:07 UTC (rev 116347)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-05-07 20:23:38 UTC (rev 116348)
@@ -1,3 +1,15 @@
+2012-05-07  Andrew Lo  <[email protected]>
+
+        [BlackBerry] Over-scroll image path property should be relative to local application directory
+        https://bugs.webkit.org/show_bug.cgi?id=85814
+
+        Reviewed by Rob Buis.
+
+        Over-scroll image path web setting should be relative to the local directory.
+
+        * Api/BackingStore.cpp:
+        (BlackBerry::WebKit::BackingStorePrivate::ensureOverScrollImage):
+
 2012-05-07  Crystal Zhang  <[email protected]>
 
         [BlackBerry] Add methods need by client side
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to