Title: [108723] trunk/Source/WebKit/blackberry
Revision
108723
Author
[email protected]
Date
2012-02-23 20:40:48 -0800 (Thu, 23 Feb 2012)

Log Message

[BlackBerry] Selection handler has compile failure with logs enabled.
https://bugs.webkit.org/show_bug.cgi?id=79392

Patch by Mike Fenton <[email protected]> on 2012-02-23
Reviewed by Antonio Gomes.

Build Fix.  Update log to avoid usage of toString which was removed.

* WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):

Modified Paths

Diff

Modified: trunk/Source/WebKit/blackberry/ChangeLog (108722 => 108723)


--- trunk/Source/WebKit/blackberry/ChangeLog	2012-02-24 04:34:56 UTC (rev 108722)
+++ trunk/Source/WebKit/blackberry/ChangeLog	2012-02-24 04:40:48 UTC (rev 108723)
@@ -1,3 +1,15 @@
+2012-02-23  Mike Fenton  <[email protected]>
+
+        [BlackBerry] Selection handler has compile failure with logs enabled.
+        https://bugs.webkit.org/show_bug.cgi?id=79392
+
+        Reviewed by Antonio Gomes.
+
+        Build Fix.  Update log to avoid usage of toString which was removed.
+
+        * WebKitSupport/SelectionHandler.cpp:
+        (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
+
 2012-02-19  Antonio Gomes  <[email protected]>
 
         Fat fingers - Add a clearer way to distinguish the node we want (shadow or non-shadow)

Modified: trunk/Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp (108722 => 108723)


--- trunk/Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp	2012-02-24 04:34:56 UTC (rev 108722)
+++ trunk/Source/WebKit/blackberry/WebKitSupport/SelectionHandler.cpp	2012-02-24 04:40:48 UTC (rev 108723)
@@ -884,9 +884,10 @@
         }
     }
 
-    DEBUG_SELECTION(BlackBerry::Platform::LogLevelInfo, "SelectionHandler::selectionPositionChanged Start Rect=%s End Rect=%s",
-                        startCaret.toString().utf8().data(), endCaret.toString().utf8().data());
+    DEBUG_SELECTION(BlackBerry::Platform::LogLevelInfo, "SelectionHandler::selectionPositionChanged Start Rect=(%d, %d) (%d x %d) End Rect=(%d, %d) (%d x %d)",
+                    startCaret.x(), startCaret.y(), startCaret.width(), startCaret.height(), endCaret.x(), endCaret.y(), endCaret.width(), endCaret.height());
 
+
     m_webPage->m_client->notifySelectionDetailsChanged(startCaret, endCaret, region);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to