| Index: content/renderer/input/input_event_filter.cc
|
| diff --git a/content/renderer/input/input_event_filter.cc b/content/renderer/input/input_event_filter.cc
|
| index 0d504a2543e9b3c16e469dcf120c2219de2fa62b..8d14c96544e33c474ee023db45c65f3697fbc9fa 100644
|
| --- a/content/renderer/input/input_event_filter.cc
|
| +++ b/content/renderer/input/input_event_filter.cc
|
| @@ -31,26 +31,7 @@
|
| using blink::WebInputEvent;
|
| using ui::DidOverscrollParams;
|
|
|
| -#include "ipc/ipc_message_null_macros.h"
|
| -#undef IPC_MESSAGE_DECL
|
| -#define IPC_MESSAGE_DECL(name, ...) \
|
| - case name::ID: \
|
| - return #name;
|
| -
|
| -const char* GetInputMessageTypeName(const IPC::Message& message) {
|
| - switch (message.type()) {
|
| -// Someone else might have included input_messages.h so undef the guard.
|
| -#undef CONTENT_COMMON_INPUT_MESSAGES_H_
|
| -#include "content/common/input_messages.h"
|
| -#ifndef CONTENT_COMMON_INPUT_MESSAGES_H_
|
| -#error "Failed to include content/common/input_messages.h"
|
| -#endif
|
| - default:
|
| - NOTREACHED() << "Invalid message type: " << message.type();
|
| - break;
|
| - };
|
| - return "NonInputMsgType";
|
| -}
|
| +const char* GetInputMessageTypeName(const IPC::Message& message);
|
|
|
| namespace content {
|
|
|
|
|