summaryrefslogtreecommitdiffstats
path: root/content/shell/common/shell_content_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/shell/common/shell_content_client.cc')
-rw-r--r--content/shell/common/shell_content_client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/shell/common/shell_content_client.cc b/content/shell/common/shell_content_client.cc
index db521d4..f9d4591 100644
--- a/content/shell/common/shell_content_client.cc
+++ b/content/shell/common/shell_content_client.cc
@@ -35,7 +35,7 @@ std::string ShellContentClient::GetUserAgent() const {
base::string16 ShellContentClient::GetLocalizedString(int message_id) const {
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDumpRenderTree)) {
+ switches::kRunLayoutTest)) {
switch (message_id) {
case IDS_FORM_OTHER_DATE_LABEL:
return base::ASCIIToUTF16("<<OtherDateLabel>>");
@@ -62,7 +62,7 @@ base::StringPiece ShellContentClient::GetDataResource(
int resource_id,
ui::ScaleFactor scale_factor) const {
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDumpRenderTree)) {
+ switches::kRunLayoutTest)) {
switch (resource_id) {
case IDR_BROKENIMAGE:
#if defined(OS_MACOSX)