Bug 902525 - Part 7: fix to turn off text anti-aliasing r=roc

This commit is contained in:
Rik Cabanier 2013-09-15 16:48:14 -07:00
parent b3a5b53c43
commit a160602f49

View File

@ -3168,9 +3168,12 @@ 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;
}