Bug 1549363 - Add missing mozilla/Sprintf.h include in GeckoProfiler.cpp to fix beta simulation bustage. r=tcampbell
authorJan de Mooij <jdemooij@mozilla.com>
Mon, 06 May 2019 14:51:48 +0000
changeset 531513 bb5772c7f2f239d9f59e17e8780292808d350a14
parent 531512 0b4f4ccbe1c50cac32be3292424c5a0afc0a6964
child 531514 d4287abd610551e73c0228959db59f4ca4f22c74
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstcampbell
bugs1549363, 1548510
milestone68.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 1549363 - Add missing mozilla/Sprintf.h include in GeckoProfiler.cpp to fix beta simulation bustage. r=tcampbell Bug 1548510 part 2 moved some code into this file without including the header for SprintfLiteral. Differential Revision: https://phabricator.services.mozilla.com/D30062
js/src/vm/GeckoProfiler.cpp
--- a/js/src/vm/GeckoProfiler.cpp
+++ b/js/src/vm/GeckoProfiler.cpp
@@ -3,16 +3,17 @@
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "vm/GeckoProfiler-inl.h"
 
 #include "mozilla/ArrayUtils.h"
 #include "mozilla/DebugOnly.h"
+#include "mozilla/Sprintf.h"
 
 #include "jsnum.h"
 
 #include "gc/GC.h"
 #include "gc/PublicIterators.h"
 #include "jit/BaselineFrame.h"
 #include "jit/BaselineJIT.h"
 #include "jit/JitcodeMap.h"