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

Unified Diff: content/common/input/web_input_event_traits.cc

Issue 1410333006: Enough hacks to make wstring printfs unneeded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: content/common/input/web_input_event_traits.cc
diff --git a/content/common/input/web_input_event_traits.cc b/content/common/input/web_input_event_traits.cc
index 0a71bb823625493f21c6388658a34179be8b6756..064248b686e8620e4959f91d82719e465cafccc5 100644
--- a/content/common/input/web_input_event_traits.cc
+++ b/content/common/input/web_input_event_traits.cc
@@ -11,7 +11,7 @@
#include "base/strings/stringprintf.h"
using base::StringAppendF;
-using base::SStringPrintf;
+//using base::SStringPrintf;
using blink::WebGestureEvent;
using blink::WebInputEvent;
using blink::WebKeyboardEvent;
@@ -285,10 +285,10 @@ void Coalesce(const WebGestureEvent& event_to_coalesce,
struct WebInputEventToString {
template <class EventType>
bool Execute(const WebInputEvent& event, std::string* result) const {
- SStringPrintf(result, "%s (Time: %lf, Modifiers: %d)\n",
+ /*SStringPrintf(result, "%s (Time: %lf, Modifiers: %d)\n",
WebInputEventTraits::GetName(event.type),
event.timeStampSeconds,
- event.modifiers);
+ event.modifiers);*/
const EventType& typed_event = static_cast<const EventType&>(event);
ApppendEventDetails(typed_event, result);
return true;

Powered by Google App Engine
This is Rietveld 408576698