Index: content/browser/vibration/vibration_message_filter.cc |
diff --git a/content/browser/vibration/vibration_message_filter.cc b/content/browser/vibration/vibration_message_filter.cc |
index 99811a976dbcd360facac3f706487beb98e2acf4..b4047486f567a9126ce524b023eb36af3defa6c5 100644 |
--- a/content/browser/vibration/vibration_message_filter.cc |
+++ b/content/browser/vibration/vibration_message_filter.cc |
@@ -18,7 +18,8 @@ namespace content { |
// Minimum duration of a vibration is 1 millisecond. |
const int64 kMinimumVibrationDurationMs = 1; |
-VibrationMessageFilter::VibrationMessageFilter() { |
+VibrationMessageFilter::VibrationMessageFilter() |
+ : BrowserMessageFilter(ViewMsgStart) { |
provider_.reset(GetContentClient()->browser()->OverrideVibrationProvider()); |
if (!provider_.get()) |
provider_.reset(CreateProvider()); |