Bug 1288373 - Add missing task.h for NewRunnableFunction r? draft
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Thu, 21 Jul 2016 13:45:43 +0200
changeset 390586 ad46462aeeac71f63e9b2f09dd26c22c805e4ecd
parent 390579 9dca9da9abe1e772d17e36b22ae4877284b7a035
child 526024 ffa0640ebbbba07e1d3c7ac435bf937ee3683676
push id23697
push userbmo:lissyx+mozillians@lissyx.dyndns.org
push dateThu, 21 Jul 2016 11:46:05 +0000
bugs1288373
milestone50.0a1
Bug 1288373 - Add missing task.h for NewRunnableFunction r? MozReview-Commit-ID: 5uubahXWY6x
widget/gonk/nsScreenManagerGonk.cpp
--- a/widget/gonk/nsScreenManagerGonk.cpp
+++ b/widget/gonk/nsScreenManagerGonk.cpp
@@ -34,16 +34,17 @@
 #include "mozilla/ProcessPriorityManager.h"
 #include "nsIdleService.h"
 #include "nsIObserverService.h"
 #include "nsAppShell.h"
 #include "nsProxyRelease.h"
 #include "nsTArray.h"
 #include "pixelflinger/format.h"
 #include "nsIDisplayInfo.h"
+#include "base/task.h"
 
 #if ANDROID_VERSION >= 17
 #include "libdisplay/DisplaySurface.h"
 #endif
 
 #define LOG(args...)  __android_log_print(ANDROID_LOG_INFO, "nsScreenGonk" , ## args)
 #define LOGW(args...) __android_log_print(ANDROID_LOG_WARN, "nsScreenGonk", ## args)
 #define LOGE(args...) __android_log_print(ANDROID_LOG_ERROR, "nsScreenGonk", ## args)