зеркало из https://github.com/mozilla/gecko-dev.git
Bug 902525 - Part 7: fix to turn off text anti-aliasing r=roc
This commit is contained in:
Родитель
9267d93f54
Коммит
8c416eb225
|
@ -3168,15 +3168,18 @@ already_AddRefed<Layer>
|
|||
nsDisplayMixBlendMode::BuildLayer(nsDisplayListBuilder* aBuilder,
|
||||
LayerManager* aManager,
|
||||
const ContainerParameters& aContainerParameters) {
|
||||
ContainerParameters newContainerParameters = aContainerParameters;
|
||||
newContainerParameters.mDisableSubpixelAntialiasingInDescendants = true;
|
||||
|
||||
nsRefPtr<Layer> container = aManager->GetLayerBuilder()->
|
||||
BuildContainerLayerFor(aBuilder, aManager, mFrame, this, mList,
|
||||
aContainerParameters, nullptr);
|
||||
newContainerParameters, nullptr);
|
||||
if (!container) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
container->SetMixBlendMode(GetGFXBlendMode(mFrame->StyleDisplay()->mMixBlendMode));
|
||||
|
||||
|
||||
return container.forget();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче