Bug 1402824 - Include nsTArray.h in InputEventStatistics.h to fix non-unified build. r=smaug draft
authorPhilippe Normand <philn@igalia.com>
Mon, 25 Sep 2017 10:45:25 +0100
changeset 670436 671ffe885ae7220bff746d433f55196519d05b8c
parent 670435 06c71dfada5e26725d7771284a9f400bf7b5fdd8
child 670437 54b56317b2876db2ed679e9f47ffb87fdf83cdd2
push id81629
push userbmo:cpearce@mozilla.com
push dateTue, 26 Sep 2017 12:03:30 +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;