Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: content/shell/renderer/test_runner/TestPlugin.cpp

Issue 210083002: Specify printing format of touch point co-ordinates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/TestPlugin.cpp
diff --git a/content/shell/renderer/test_runner/TestPlugin.cpp b/content/shell/renderer/test_runner/TestPlugin.cpp
index b416808e3f5a748195f773bb5b9d443ce691328d..91045cecef3af3065391d2f7d415040c8d1bf960 100644
--- a/content/shell/renderer/test_runner/TestPlugin.cpp
+++ b/content/shell/renderer/test_runner/TestPlugin.cpp
@@ -91,7 +91,7 @@ void printTouchList(WebTestDelegate* delegate, const WebTouchPoint* points, int
char buffer[100];
snprintf(buffer,
sizeof(buffer),
- "* %f, %f: %s\n",
+ "* %.2f, %.2f: %s\n",
points[i].position.x,
points[i].position.y,
pointState(points[i].state));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698