mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1283176 - Dump XMost and YMost values instead of width and height for sticky layers. r=nical
MozReview-Commit-ID: C9fJA03RamJ --HG-- extra : rebase_source : a6d1c9cef47589642e6ca75b97c0619e76e6c0ab
This commit is contained in:
parent
fbd578cfcf
commit
26e7e639be
@ -1982,12 +1982,12 @@ Layer::PrintInfo(std::stringstream& aStream, const char* aPrefix)
|
||||
ToString(anchor).c_str()).get();
|
||||
}
|
||||
if (GetIsStickyPosition()) {
|
||||
aStream << nsPrintfCString(" [isStickyPosition scrollId=%d outer=%f,%f %fx%f "
|
||||
"inner=%f,%f %fx%f]", mStickyPositionData->mScrollId,
|
||||
aStream << nsPrintfCString(" [isStickyPosition scrollId=%d outer=(%.3f,%.3f)-(%.3f,%.3f) "
|
||||
"inner=(%.3f,%.3f)-(%.3f,%.3f)]", mStickyPositionData->mScrollId,
|
||||
mStickyPositionData->mOuter.x, mStickyPositionData->mOuter.y,
|
||||
mStickyPositionData->mOuter.width, mStickyPositionData->mOuter.height,
|
||||
mStickyPositionData->mOuter.XMost(), mStickyPositionData->mOuter.YMost(),
|
||||
mStickyPositionData->mInner.x, mStickyPositionData->mInner.y,
|
||||
mStickyPositionData->mInner.width, mStickyPositionData->mInner.height).get();
|
||||
mStickyPositionData->mInner.XMost(), mStickyPositionData->mInner.YMost()).get();
|
||||
}
|
||||
if (mMaskLayer) {
|
||||
aStream << nsPrintfCString(" [mMaskLayer=%p]", mMaskLayer.get()).get();
|
||||
|
Loading…
Reference in New Issue
Block a user