| Index: content/shell/renderer/test_runner/TestInterfaces.cpp
|
| diff --git a/content/shell/renderer/test_runner/TestInterfaces.cpp b/content/shell/renderer/test_runner/TestInterfaces.cpp
|
| index dca5d7580f7c2440270cd77b747b07cd559741bc..dff59cfb7b7d155f275cfc4a7ffb4f9b2ea5fb7d 100644
|
| --- a/content/shell/renderer/test_runner/TestInterfaces.cpp
|
| +++ b/content/shell/renderer/test_runner/TestInterfaces.cpp
|
| @@ -38,8 +38,12 @@ TestInterfaces::TestInterfaces()
|
| , m_delegate(0)
|
| {
|
| blink::setLayoutTestMode(true);
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableFontSmoothing))
|
| - blink::setFontSmoothingEnabledForTest(true);
|
| +
|
| + // FIXME(dro) crbug.com/367082: Remove the smoothing parameter once the rename is complete
|
| + // on the Blink side.
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableFontAntialiasing) ||
|
| + CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableFontSmoothing))
|
| + blink::setFontAntialiasingEnabledForTest(true);
|
|
|
| // NOTE: please don't put feature specific enable flags here,
|
| // instead add them to RuntimeEnabledFeatures.in
|
|
|