Bug 1258034 - Fix ServiceWorkerPrivate.cpp build error on b2g r=khuey
authorFabrice Desré <fabrice@mozilla.com>
Sun, 20 Mar 2016 09:57:33 -0700
changeset 289614 e0ab3a8fa5a48be3100cb750feaa15f7074f75b8
parent 289613 558a789116f264db1a27f73d73a6dd067ce207f0
child 289615 5eb1f8858a31136b13e9de2cf165d7569c770063
push id30108
push usercbook@mozilla.com
push dateTue, 22 Mar 2016 11:14:31 +0000
treeherdermozilla-central@ea6298e1b4f7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskhuey
bugs1258034
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1258034 - Fix ServiceWorkerPrivate.cpp build error on b2g r=khuey
dom/workers/ServiceWorkerPrivate.cpp
--- a/dom/workers/ServiceWorkerPrivate.cpp
+++ b/dom/workers/ServiceWorkerPrivate.cpp
@@ -21,17 +21,19 @@
 #include "WorkerRunnable.h"
 #include "WorkerScope.h"
 #include "mozilla/Assertions.h"
 #include "mozilla/dom/FetchUtil.h"
 #include "mozilla/dom/IndexedDatabaseManager.h"
 #include "mozilla/dom/InternalHeaders.h"
 #include "mozilla/dom/NotificationEvent.h"
 #include "mozilla/dom/PromiseNativeHandler.h"
+#ifndef MOZ_SIMPLEPUSH
 #include "mozilla/dom/PushEventBinding.h"
+#endif
 #include "mozilla/dom/RequestBinding.h"
 
 using namespace mozilla;
 using namespace mozilla::dom;
 
 BEGIN_WORKERS_NAMESPACE
 
 NS_IMPL_CYCLE_COLLECTING_ADDREF(ServiceWorkerPrivate)