Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(685)

Unified Diff: content/browser/vibration/vibration_message_filter.cc

Issue 165333004: Revert "Allow MessageFilters to restrict listening to specific message classes" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 b4047486f567a9126ce524b023eb36af3defa6c5..99811a976dbcd360facac3f706487beb98e2acf4 100644
--- a/content/browser/vibration/vibration_message_filter.cc
+++ b/content/browser/vibration/vibration_message_filter.cc
@@ -18,8 +18,7 @@ namespace content {
// Minimum duration of a vibration is 1 millisecond.
const int64 kMinimumVibrationDurationMs = 1;
-VibrationMessageFilter::VibrationMessageFilter()
- : BrowserMessageFilter(ViewMsgStart) {
+VibrationMessageFilter::VibrationMessageFilter() {
provider_.reset(GetContentClient()->browser()->OverrideVibrationProvider());
if (!provider_.get())
provider_.reset(CreateProvider());
« no previous file with comments | « content/browser/tracing/trace_message_filter.cc ('k') | content/browser/worker_host/worker_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698