Bug 1410460 - Non-unified build fix for nsClassInfoImpl.cpp. r=cpearce
authorPhilippe Normand <philn@igalia.com>
Fri, 20 Oct 2017 16:46:40 +0100
changeset 387489 505e38c823b624ecea16fde11e5af884bbbebf6f
parent 387488 2d7e2f8783644889b4ec997d4cec68cefd5fccd3
child 387490 8dba09333346ba9f445c6648622596a96a841e8d
push id32721
push userarchaeopteryx@coole-files.de
push dateSat, 21 Oct 2017 08:59:38 +0000
treeherdermozilla-central@d697979497a6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscpearce
bugs1410460
milestone58.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 1410460 - Non-unified build fix for nsClassInfoImpl.cpp. r=cpearce The nsACString type was used without prior declaration.
xpcom/base/nsClassInfoImpl.cpp
--- a/xpcom/base/nsClassInfoImpl.cpp
+++ b/xpcom/base/nsClassInfoImpl.cpp
@@ -1,15 +1,16 @@
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
 /* 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 "nsIClassInfoImpl.h"
+#include "nsString.h"
 
 NS_IMETHODIMP_(MozExternalRefCountType)
 GenericClassInfo::AddRef()
 {
   return 2;
 }
 
 NS_IMETHODIMP_(MozExternalRefCountType)