mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 1733308 - Fix non-unified builds errors in xpcom/ds. r=xpcom-reviewers,mccr8
xpcom/ds/nsProperties.cpp:56:3: error: use of undeclared identifier 'AppendToArray'; did you mean 'mozilla::AppendToArray'? xpcom/ds/PLDHashTable.cpp:324:3: error: use of undeclared identifier 'NS_ASSERTION' xpcom/ds/PLDHashTable.cpp:395:3: error: use of undeclared identifier 'NS_ASSERTION' xpcom/ds/PLDHashTable.cpp:679:7: error: use of undeclared identifier 'NS_ABORT_OOM' xpcom/ds/PLDHashTable.cpp:685:7: error: use of undeclared identifier 'NS_ABORT_OOM' Differential Revision: https://phabricator.services.mozilla.com/D127039
This commit is contained in:
parent
1eb69b0bad
commit
26a9899072
@ -9,6 +9,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "PLDHashTable.h"
|
#include "PLDHashTable.h"
|
||||||
|
#include "nsDebug.h"
|
||||||
#include "mozilla/HashFunctions.h"
|
#include "mozilla/HashFunctions.h"
|
||||||
#include "mozilla/MathAlgorithms.h"
|
#include "mozilla/MathAlgorithms.h"
|
||||||
#include "mozilla/OperatorNewExtensions.h"
|
#include "mozilla/OperatorNewExtensions.h"
|
||||||
|
@ -154,5 +154,3 @@ FINAL_LIBRARY = "xul"
|
|||||||
PYTHON_UNITTEST_MANIFESTS += [
|
PYTHON_UNITTEST_MANIFESTS += [
|
||||||
"test/python.ini",
|
"test/python.ini",
|
||||||
]
|
]
|
||||||
|
|
||||||
REQUIRES_UNIFIED_BUILD = True
|
|
||||||
|
@ -53,7 +53,7 @@ nsProperties::Has(const char* prop, bool* result) {
|
|||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsProperties::GetKeys(nsTArray<nsCString>& aKeys) {
|
nsProperties::GetKeys(nsTArray<nsCString>& aKeys) {
|
||||||
AppendToArray(aKeys, this->Keys());
|
mozilla::AppendToArray(aKeys, this->Keys());
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user