Bug 1667863 - Replace AppendToString for MarginTyped with ostream. r=mattwoodrow

Depends on D91653

Differential Revision: https://phabricator.services.mozilla.com/D91654
This commit is contained in:
Kartikaya Gupta
2020-09-29 02:57:17 +00:00
parent 2dcb6ea89f
commit acf1cf336d
4 changed files with 5 additions and 18 deletions

View File

@@ -29,7 +29,6 @@
#include "ImageRegion.h"
#include "imgIContainer.h"
#include "imgIRequest.h"
#include "LayersLogging.h"
#include "LayoutLogging.h"
#include "MobileViewportManager.h"
#include "mozilla/AccessibleCaretEventHub.h"
@@ -1346,14 +1345,14 @@ bool nsLayoutUtils::SetDisplayPortMargins(nsIContent* aContent,
if (!hadDisplayPort) {
MOZ_LOG(sDisplayportLog, LogLevel::Debug,
("SetDisplayPortMargins %s on scrollId=%" PRIu64 ", newDp=%s\n",
Stringify(aMargins).c_str(), viewID,
ToString(aMargins).c_str(), viewID,
ToString(newDisplayPort).c_str()));
} else {
// Use verbose level logging for when an existing displayport got its
// margins updated.
MOZ_LOG(sDisplayportLog, LogLevel::Verbose,
("SetDisplayPortMargins %s on scrollId=%" PRIu64 ", newDp=%s\n",
Stringify(aMargins).c_str(), viewID,
ToString(aMargins).c_str(), viewID,
ToString(newDisplayPort).c_str()));
}
}