Index: content/browser/device_orientation/device_motion_message_filter.cc |
diff --git a/content/browser/device_orientation/device_motion_message_filter.cc b/content/browser/device_orientation/device_motion_message_filter.cc |
index bc33cac391215c9b3f45951b523929efe2693faf..427ec6745981c7982d0a518aebd71dd8797ae87f 100644 |
--- a/content/browser/device_orientation/device_motion_message_filter.cc |
+++ b/content/browser/device_orientation/device_motion_message_filter.cc |
@@ -8,9 +8,16 @@ |
#include "content/common/device_orientation/device_motion_messages.h" |
namespace content { |
+namespace { |
+const uint32 kFilteredMessageClasses[] = { |
+ DeviceMotionMsgStart |
+}; |
+} // namespace |
DeviceMotionMessageFilter::DeviceMotionMessageFilter() |
- : is_started_(false) { |
+ : BrowserMessageFilter( |
+ kFilteredMessageClasses, arraysize(kFilteredMessageClasses)), |
+ is_started_(false) { |
} |
DeviceMotionMessageFilter::~DeviceMotionMessageFilter() { |