Bug 1728104 - Part 1: Fix non-unified build error on ListFormat.cpp. r=tcampbell
authorYoshi Cheng-Hao Huang <allstars.chh@gmail.com>
Thu, 16 Sep 2021 14:47:02 +0000
changeset 592196 2a14ebd378cab683cdb02c5cc8d238d5182d456b
parent 592195 e7567d7b60a31714b457fbec80376248ceaff880
child 592197 e003632d9854593b290ccebc7e666bef7e909cc1
push id149854
push userallstars.chh@gmail.com
push dateThu, 16 Sep 2021 14:49:43 +0000
treeherderautoland@e5f2a2c79161 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstcampbell
bugs1728104
milestone94.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 1728104 - Part 1: Fix non-unified build error on ListFormat.cpp. r=tcampbell Differential Revision: https://phabricator.services.mozilla.com/D125683
intl/components/src/ListFormat.cpp
--- a/intl/components/src/ListFormat.cpp
+++ b/intl/components/src/ListFormat.cpp
@@ -1,13 +1,15 @@
 /* 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 "mozilla/intl/ListFormat.h"
 
+#include "ScopedICUObject.h"
+
 namespace mozilla::intl {
 
 /*static*/ Result<UniquePtr<ListFormat>, ICUError> ListFormat::TryCreate(
     mozilla::Span<const char> aLocale, const Options& aOptions) {
   UListFormatterType utype = ToUListFormatterType(aOptions.mType);
   UListFormatterWidth uwidth = ToUListFormatterWidth(aOptions.mStyle);
 
   UErrorCode status = U_ZERO_ERROR;