summaryrefslogtreecommitdiffstats
path: root/webkit/tools/pepper_test_plugin
diff options
context:
space:
mode:
authorsehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-20 01:21:24 +0000
committersehr@google.com <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-20 01:21:24 +0000
commitb87a475c7011cc998401582d97d7a2b5fe23fe9a (patch)
tree4395f0b94394c03db5c52b57983eaa3e99db9700 /webkit/tools/pepper_test_plugin
parent3366d7da925921dc7a366ed1c077f30ab3692f46 (diff)
downloadchromium_src-b87a475c7011cc998401582d97d7a2b5fe23fe9a.zip
chromium_src-b87a475c7011cc998401582d97d7a2b5fe23fe9a.tar.gz
chromium_src-b87a475c7011cc998401582d97d7a2b5fe23fe9a.tar.bz2
Fix (hopefully) the linux64 build issue exposed by Neb's CL.
TBR=laforge Review URL: http://codereview.chromium.org/542136 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/pepper_test_plugin')
-rw-r--r--webkit/tools/pepper_test_plugin/event_handler.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/pepper_test_plugin/event_handler.cc b/webkit/tools/pepper_test_plugin/event_handler.cc
index 65df790..0562536 100644
--- a/webkit/tools/pepper_test_plugin/event_handler.cc
+++ b/webkit/tools/pepper_test_plugin/event_handler.cc
@@ -55,10 +55,14 @@ void EventHandler::addText(const char* cstr) {
}
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";