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

Unified Diff: webkit/tools/pepper_test_plugin/event_handler.cc

Issue 542136: Fix (hopefully) the linux64 build issue exposed by Neb's CL. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/pepper_test_plugin/event_handler.cc
===================================================================
--- webkit/tools/pepper_test_plugin/event_handler.cc (revision 36529)
+++ webkit/tools/pepper_test_plugin/event_handler.cc (working copy)
@@ -55,10 +55,14 @@
}
std::string EventHandler::EventName(double timestamp, int32 type) {
+#if !defined(OS_LINUX)
std::stringstream strstr;
strstr.setf(std::ios::fixed, std::ios::floatfield);
strstr << timestamp << ": ";
std::string str(strstr.str());
+#else
+ std::string str;
+#endif
switch (type) {
case NPEventType_MouseDown:
return str + "MouseDown";
« 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