Bug 1246854 - Remove unnecessary warning. r?botond
MozReview-Commit-ID: F5ES9LPoRAk
--- a/dom/events/TouchEvent.cpp
+++ b/dom/events/TouchEvent.cpp
@@ -189,17 +189,16 @@ TouchEvent::PrefEnabled(JSContext* aCx,
static bool sIsTouchDeviceSupportPresent = false;
// On Windows and GTK3 we auto-detect based on device support.
if (!sDidCheckTouchDeviceSupport) {
sDidCheckTouchDeviceSupport = true;
sIsTouchDeviceSupportPresent = WidgetUtils::IsTouchDeviceSupportPresent();
}
prefValue = sIsTouchDeviceSupportPresent;
#else
- NS_WARNING("dom.w3c_touch_events.enabled=2 not implemented!");
prefValue = false;
#endif
} else {
prefValue = !!flag;
}
}
if (prefValue) {
nsContentUtils::InitializeTouchEventTable();