Index: mojo/services/html_viewer/blink_input_events_type_converters.h |
diff --git a/mojo/services/html_viewer/blink_input_events_type_converters.h b/mojo/services/html_viewer/blink_input_events_type_converters.h |
index e40c02dd93f67c21f66d68ba3d18193da941f539..3d5860da426892ff304fcbc60cd9cf1996f60606 100644 |
--- a/mojo/services/html_viewer/blink_input_events_type_converters.h |
+++ b/mojo/services/html_viewer/blink_input_events_type_converters.h |
@@ -14,10 +14,9 @@ class WebInputEvent; |
namespace mojo { |
-template<> |
-class TypeConverter<EventPtr, scoped_ptr<blink::WebInputEvent> > { |
- public: |
- static scoped_ptr<blink::WebInputEvent> ConvertTo(const EventPtr& input); |
+template <> |
+struct TypeConverter<scoped_ptr<blink::WebInputEvent>, EventPtr> { |
+ static scoped_ptr<blink::WebInputEvent> Convert(const EventPtr& input); |
}; |
} // namespace mojo |