зеркало из https://github.com/mozilla/gecko-dev.git
Bug 801365 - Invalidate ThebesLayers if the zoom factor changes. r=roc, a=bajaj
This commit is contained in:
Родитель
bba58f73ef
Коммит
f65351f242
|
@ -1309,7 +1309,8 @@ ContainerState::CreateOrRecycleThebesLayer(const nsIFrame* aActiveScrolledRoot,
|
|||
// we ensure that mInvalidThebesContent is updated according to the
|
||||
// scroll position as of the most recent paint.
|
||||
if (!FuzzyEqual(data->mXScale, mParameters.mXScale, 0.00001) ||
|
||||
!FuzzyEqual(data->mYScale, mParameters.mYScale, 0.00001)) {
|
||||
!FuzzyEqual(data->mYScale, mParameters.mYScale, 0.00001) ||
|
||||
data->mAppUnitsPerDevPixel != mAppUnitsPerDevPixel) {
|
||||
InvalidateEntireThebesLayer(layer, aActiveScrolledRoot);
|
||||
didResetScrollPositionForLayerPixelAlignment = true;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче