зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1744354 - Do not build print string for apz.printree logging unless the pref is enabled. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D147569
This commit is contained in:
Родитель
59f561e464
Коммит
ff6c4f5304
|
@ -952,7 +952,7 @@ bool APZCTreeManager::AdvanceAnimationsInternal(
|
|||
}
|
||||
|
||||
void APZCTreeManager::PrintLayerInfo(const ScrollNode& aLayer) {
|
||||
if (aLayer.Dump(mApzcTreeLog) > 0) {
|
||||
if (StaticPrefs::apz_printtree() && aLayer.Dump(mApzcTreeLog) > 0) {
|
||||
mApzcTreeLog << "\n";
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче