Bug 1292632 part 3: Include <algorithm> in image/SourceBuffer.h, to provide std::min. r=seth
authorDaniel Holbert <dholbert@cs.stanford.edu>
Fri, 05 Aug 2016 17:09:48 -0700
changeset 308430 d289b7a8ad1f3374897bff0d2d59c4b1179f81cd
parent 308429 461d7103db3a6dc9d9f9ea4b54c48eef1202cdef
child 308431 41ecafc5752459e2e10de8df764b403559feb28a
push id80339
push userdholbert@mozilla.com
push dateSat, 06 Aug 2016 00:10:17 +0000
treeherdermozilla-inbound@d289b7a8ad1f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersseth
bugs1292632
milestone51.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 1292632 part 3: Include <algorithm> in image/SourceBuffer.h, to provide std::min. r=seth MozReview-Commit-ID: DJvb7Sz4efF
image/SourceBuffer.h
--- a/image/SourceBuffer.h
+++ b/image/SourceBuffer.h
@@ -6,16 +6,17 @@
 /**
  * SourceBuffer is a single producer, multiple consumer data structure used for
  * storing image source (compressed) data.
  */
 
 #ifndef mozilla_image_sourcebuffer_h
 #define mozilla_image_sourcebuffer_h
 
+#include <algorithm>
 #include "mozilla/Maybe.h"
 #include "mozilla/MemoryReporting.h"
 #include "mozilla/Mutex.h"
 #include "mozilla/Move.h"
 #include "mozilla/MemoryReporting.h"
 #include "mozilla/RefPtr.h"
 #include "mozilla/RefCounted.h"
 #include "mozilla/UniquePtr.h"