[BlackBerry] Build failure when DEBUG_FAT_FINGER is enabled
authorcharles.wei@torchmobile.com.cn <charles.wei@torchmobile.com.cn@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Apr 2012 02:01:05 +0000 (02:01 +0000)
committercharles.wei@torchmobile.com.cn <charles.wei@torchmobile.com.cn@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Apr 2012 02:01:05 +0000 (02:01 +0000)
https://bugs.webkit.org/show_bug.cgi?id=84563

Reviewed by Antonio Gomes.

Fat Finger log code uses obsolete IntRect::toString() for logging,
which was first implemented interally and removed later.

* WebKitSupport/FatFingers.cpp:
(BlackBerry::WebKit::FatFingers::findIntersectingRegions):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@114984 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/blackberry/ChangeLog
Source/WebKit/blackberry/WebKitSupport/FatFingers.cpp

index c72eda2..d938499 100644 (file)
@@ -1,3 +1,16 @@
+2012-04-23  Charles Wei  <charles.wei@torchmobile.com.cn>
+
+        [BlackBerry] Build failure when DEBUG_FAT_FINGER is enabled
+        https://bugs.webkit.org/show_bug.cgi?id=84563
+
+        Reviewed by Antonio Gomes.
+
+        Fat Finger log code uses obsolete IntRect::toString() for logging,
+        which was first implemented interally and removed later.
+
+        * WebKitSupport/FatFingers.cpp:
+        (BlackBerry::WebKit::FatFingers::findIntersectingRegions):
+
 2012-04-21  Benjamin C Meyer  <bmeyer@rim.com>
 
         Don't hard code the plugins that blackberry supports.
index b49e248..fe7f848 100644 (file)
@@ -306,7 +306,7 @@ bool FatFingers::findIntersectingRegions(Document* document,
 #if DEBUG_FAT_FINGERS
     IntRect fingerRect(fingerRectForPoint(frameContentPos));
     IntRect screenFingerRect = m_webPage->mapToTransformed(fingerRect);
-    log(LogLevelInfo, "fat finger rect now %s", screenFingerRect.toString().latin1().data());
+    log(LogLevelInfo, "fat finger rect now %d, %d, %d, %d", screenFingerRect.x(), screenFingerRect.y(), screenFingerRect.width(), screenFingerRect.height());
 
     // only record the first finger rect
     if (document == m_webPage->m_mainFrame->document())