https://bugs.webkit.org/show_bug.cgi?id=79392
Patch by Mike Fenton <mifenton@rim.com> 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):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108723
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-23 Mike Fenton <mifenton@rim.com>
+
+ [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 <agomes@rim.com>
Fat fingers - Add a clearer way to distinguish the node we want (shadow or non-shadow)
}
}
- 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);
}