Bug 1502280 - followup: Fix non-unified build. r=bustage
authorTooru Fujisawa <arai_a@mac.com>
Wed, 14 Nov 2018 14:36:12 +0900
changeset 502593 d3f4d556a89d
parent 502592 9b456742a2cc
child 502594 073045259e75
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1502280
milestone65.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 1502280 - followup: Fix non-unified build. r=bustage
js/src/jsapi-tests/testBinTokenReaderTester.cpp
--- a/js/src/jsapi-tests/testBinTokenReaderTester.cpp
+++ b/js/src/jsapi-tests/testBinTokenReaderTester.cpp
@@ -15,16 +15,17 @@
 #include <unistd.h>
 #endif // defined (XP_WIN) || defined (XP_UNIX)
 
 #include "mozilla/Maybe.h"
 
 #include "frontend/BinTokenReaderTester.h"
 #include "frontend/ErrorReporter.h"
 
+#include "js/UniquePtr.h"
 #include "js/Vector.h"
 
 #include "jsapi-tests/tests.h"
 
 using mozilla::Maybe;
 
 using Tokenizer = js::frontend::BinTokenReaderTester;
 using Chars = js::frontend::BinTokenReaderTester::Chars;
@@ -152,17 +153,17 @@ class DummyErrorReporter : public js::fr
     }
     virtual const char* getFilename() const override {
         return "dummy filename";
     }
 
     virtual void errorAtVA(uint32_t offset, unsigned errorNumber, va_list* args) override {
         MOZ_CRASH("shouldn't be used in test");
     }
-    virtual bool reportExtraWarningErrorNumberVA(UniquePtr<JSErrorNotes> notes, uint32_t offset, unsigned errorNumber, va_list* args) override {
+    virtual bool reportExtraWarningErrorNumberVA(js::UniquePtr<JSErrorNotes> notes, uint32_t offset, unsigned errorNumber, va_list* args) override {
         MOZ_CRASH("shouldn't be used in test");
         return false;
     }
 };
 
 void readFull(const char* path, js::Vector<uint8_t>& buf) {
     enterJsDirectory();
     buf.shrinkTo(0);