Bug 1527939 - Fix the leak on the log message inside profiler_register_page r=mstange

Differential Revision: https://phabricator.services.mozilla.com/D19812

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nazım Can Altınova 2019-02-14 20:56:40 +00:00
parent 65f81a0201
commit 65a3fd4058

View File

@ -3541,8 +3541,9 @@ void profiler_unregister_thread() {
void profiler_register_page(const nsID& aDocShellId, uint32_t aHistoryId,
const nsCString& aUrl, bool aIsSubFrame) {
DEBUG_LOG("profiler_register_page(%s, %u, %s, %d)", aDocShellId.ToString(),
aHistoryId, aUrl.get(), aIsSubFrame);
DEBUG_LOG("profiler_register_page(%s, %u, %s, %d)",
nsIDToCString(aDocShellId).get(), aHistoryId, aUrl.get(),
aIsSubFrame);
MOZ_RELEASE_ASSERT(CorePS::Exists());