Bug 1402824 - Include nsTArray.h in InputEventStatistics.h to fix non-unified build. r=smaug
☠☠ backed out by 2ac86f2bd9a5 ☠ ☠
authorPhilippe Normand <philn@igalia.com>
Mon, 25 Sep 2017 10:45:25 +0100
changeset 670571 0ffa251376725d07041471ab8d343508d5c11525
parent 670570 75e36b75f56470e2b6e84b41953ef71682f9ba2c
child 670572 ef139c527822ef3b5117439aa8cc3a5e396e5fa8
push id81678
push userkgupta@mozilla.com
push dateTue, 26 Sep 2017 17:28:53 +0000
reviewerssmaug
bugs1402824
milestone58.0a1
Bug 1402824 - Include nsTArray.h in InputEventStatistics.h to fix non-unified build. r=smaug The nsTArray type was used without prior declaration. MozReview-Commit-ID: KMUgXO2kBIY
xpcom/threads/InputEventStatistics.h
--- a/xpcom/threads/InputEventStatistics.h
+++ b/xpcom/threads/InputEventStatistics.h
@@ -6,16 +6,17 @@
 
 #if !defined(InputEventStatistics_h_)
 #define InputEventStatistics_h_
 
 #include "mozilla/ClearOnShutdown.h"
 #include "mozilla/Maybe.h"
 #include "mozilla/Preferences.h"
 #include "mozilla/TimeStamp.h"
+#include "nsTArray.h"
 
 namespace mozilla {
 
 class InputEventStatistics
 {
   // The default amount of time (milliseconds) required for handling a input
   // event.
   static const uint16_t sDefaultInputDuration = 1;