Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
This commit is contained in:
@@ -1426,7 +1426,7 @@ public:
|
||||
// create artificial (i.e. deterministic) reporters -- which allows us
|
||||
// to precisely test nsMemoryReporterManager.explicit -- but we can't
|
||||
// do that for distinguished amounts.
|
||||
if (aPath.Equals("heap-allocated") ||
|
||||
if (aPath.EqualsLiteral("heap-allocated") ||
|
||||
(aKind == nsIMemoryReporter::KIND_NONHEAP &&
|
||||
PromiseFlatCString(aPath).Find("explicit") == 0)) {
|
||||
Int64Wrapper* wrappedInt64 = static_cast<Int64Wrapper*>(aWrappedExplicit);
|
||||
|
||||
Reference in New Issue
Block a user