Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1883)

Unified Diff: content/shell/browser/shell_content_browser_client.cc

Issue 255943007: Renaming --enable-font-smoothing cmd line argument to --enable-font-antialiasing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Preparing for landing as 4-sided patch Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/shell/common/shell_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_content_browser_client.cc
diff --git a/content/shell/browser/shell_content_browser_client.cc b/content/shell/browser/shell_content_browser_client.cc
index d4394f3ef5b12bbd2557cced12490f4b99ae8f05..90060ef227312a53fec40f62d71fe6a319f4dd3a 100644
--- a/content/shell/browser/shell_content_browser_client.cc
+++ b/content/shell/browser/shell_content_browser_client.cc
@@ -210,10 +210,15 @@ void ShellContentBrowserClient::AppendExtraCommandLineSwitches(
CommandLine* command_line, int child_process_id) {
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree))
command_line->AppendSwitch(switches::kDumpRenderTree);
+ // FIXME(dro) crbug.com/367082: Remove the smoothing parameter
+ // once the command line switch rename is complete on the Blink side.
if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableFontSmoothing))
command_line->AppendSwitch(switches::kEnableFontSmoothing);
if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableFontAntialiasing))
+ command_line->AppendSwitch(switches::kEnableFontAntialiasing);
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kExposeInternalsForTesting))
command_line->AppendSwitch(switches::kExposeInternalsForTesting);
if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kStableReleaseMode))
« no previous file with comments | « no previous file | content/shell/common/shell_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698