Index: content/shell/app/shell_main_delegate_mac.mm |
diff --git a/content/shell/app/shell_main_delegate_mac.mm b/content/shell/app/shell_main_delegate_mac.mm |
index bba20a1c2c5228fc911756f17b30da3f7a86af1d..298475cff4afe8e24cc164920e508fa424dc7703 100644 |
--- a/content/shell/app/shell_main_delegate_mac.mm |
+++ b/content/shell/app/shell_main_delegate_mac.mm |
@@ -28,8 +28,7 @@ void EnsureCorrectResolutionSettings() { |
[[NSMutableDictionary alloc] |
initWithContentsOfFile:base::mac::FilePathToNSString(info_plist)]); |
- bool running_layout_tests = base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kRunLayoutTest); |
+ bool running_layout_tests = switches::IsRunLayoutTestSwitchPresent(); |
bool not_high_resolution_capable = |
[info_dict objectForKey:kHighResolutionCapable] && |
[[info_dict objectForKey:kHighResolutionCapable] isEqualToNumber:@(NO)]; |