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

Unified Diff: content/shell/renderer/test_runner/test_interfaces.cc

Issue 1125213007: Move command line handling out of test runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 7 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 | « content/shell/renderer/layout_test/layout_test_render_process_observer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/test_interfaces.cc
diff --git a/content/shell/renderer/test_runner/test_interfaces.cc b/content/shell/renderer/test_runner/test_interfaces.cc
index 4c09446d27e791ceb1e8985b5aa3e0af3e7c6003..fda79745b2181d62633e913ac70486c6e7d06f47 100644
--- a/content/shell/renderer/test_runner/test_interfaces.cc
+++ b/content/shell/renderer/test_runner/test_interfaces.cc
@@ -6,13 +6,11 @@
#include <string>
-#include "base/command_line.h"
#include "base/json/json_writer.h"
#include "base/json/string_escape.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "base/values.h"
-#include "content/shell/common/shell_switches.h"
#include "content/shell/renderer/test_runner/accessibility_controller.h"
#include "content/shell/renderer/test_runner/event_sender.h"
#include "content/shell/renderer/test_runner/gamepad_controller.h"
@@ -33,10 +31,6 @@ TestInterfaces::TestInterfaces()
test_runner_(new TestRunner(this)),
delegate_(0) {
blink::setLayoutTestMode(true);
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableFontAntialiasing))
- blink::setFontAntialiasingEnabledForTest(true);
-
// NOTE: please don't put feature specific enable flags here,
// instead add them to RuntimeEnabledFeatures.in
« no previous file with comments | « content/shell/renderer/layout_test/layout_test_render_process_observer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698