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

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

Issue 140973005: Chrome allows WebTouchPoint to store WebFloatPoint, instead of WebPoint. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix semicolon. Created 6 years, 11 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 | « content/shell/renderer/test_runner/EventSender.cpp ('k') | 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 2d53c2afec2edd14dccafb8432f74cb9a7d987a3..0483d0e96eba278da1806638d563ef7cb22679b2 100644
--- a/content/shell/renderer/test_runner/TestPlugin.cpp
+++ b/content/shell/renderer/test_runner/TestPlugin.cpp
@@ -85,7 +85,7 @@ void printTouchList(WebTestDelegate* delegate, const WebTouchPoint* points, int
{
for (int i = 0; i < length; ++i) {
char buffer[100];
- snprintf(buffer, sizeof(buffer), "* %d, %d: %s\n", points[i].position.x, points[i].position.y, pointState(points[i].state));
+ snprintf(buffer, sizeof(buffer), "* %d, %d: %s\n", (int)points[i].position.x, (int)points[i].position.y, pointState(points[i].state));
jam 2014/01/29 00:54:22 nit: use static_cast instead of c cast per style g
tdresser 2014/01/29 15:02:43 Done.
delegate->printMessage(buffer);
}
}
« no previous file with comments | « content/shell/renderer/test_runner/EventSender.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698