Index: content/common/input/input_param_traits.cc |
diff --git a/content/common/input/input_param_traits.cc b/content/common/input/input_param_traits.cc |
index 0402f433c5e0d15f7f6d0407a22c677e21ba4e52..a6326bb3b6cf958ff9c8ca323d72c08bc39bda42 100644 |
--- a/content/common/input/input_param_traits.cc |
+++ b/content/common/input/input_param_traits.cc |
@@ -10,7 +10,6 @@ |
#include "content/common/input/synthetic_pinch_gesture_params.h" |
#include "content/common/input/synthetic_smooth_drag_gesture_params.h" |
#include "content/common/input/synthetic_smooth_scroll_gesture_params.h" |
-#include "content/common/input/web_input_event_traits.h" |
#include "content/common/input_messages.h" |
namespace IPC { |
@@ -27,34 +26,6 @@ scoped_ptr<content::SyntheticGestureParams> ReadGestureParams( |
} |
} // namespace |
-void ParamTraits<content::ScopedWebInputEvent>::Write(Message* m, |
- const param_type& p) { |
- bool valid_web_event = !!p; |
- WriteParam(m, valid_web_event); |
- if (valid_web_event) |
- WriteParam(m, static_cast<WebInputEventPointer>(p.get())); |
-} |
- |
-bool ParamTraits<content::ScopedWebInputEvent>::Read(const Message* m, |
- base::PickleIterator* iter, |
- param_type* p) { |
- bool valid_web_event = false; |
- WebInputEventPointer web_event_pointer = NULL; |
- if (!ReadParam(m, iter, &valid_web_event) || |
- !valid_web_event || |
- !ReadParam(m, iter, &web_event_pointer) || |
- !web_event_pointer) |
- return false; |
- |
- (*p) = content::WebInputEventTraits::Clone(*web_event_pointer); |
- return true; |
-} |
- |
-void ParamTraits<content::ScopedWebInputEvent>::Log(const param_type& p, |
- std::string* l) { |
- LogParam(static_cast<WebInputEventPointer>(p.get()), l); |
-} |
- |
void ParamTraits<content::SyntheticGesturePacket>::Write(Message* m, |
const param_type& p) { |
DCHECK(p.gesture_params()); |