| Index: chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm
|
| diff --git a/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm b/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm
|
| index 8b7443c68146e08333f5923bba9fdf552cc7cefe..6c49dca17469d331bc682d01733cf0c18e741be6 100644
|
| --- a/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm
|
| +++ b/chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm
|
| @@ -556,7 +556,7 @@ void TestControls(AppWindow* app_window) {
|
| // fullscreen action. The above check that collectionBehavior does not include
|
| // NSWindowCollectionBehaviorFullScreenPrimary is sufficient to determine that
|
| // the window can't be fullscreened.
|
| - if (base::mac::IsOSMavericks()) {
|
| + if (base::mac::IsOS10_9()) {
|
| EXPECT_EQ(can_fullscreen,
|
| [[ns_window standardWindowButton:NSWindowZoomButton] isEnabled]);
|
| }
|
| @@ -636,7 +636,7 @@ NSBitmapImageRep* ScreenshotNSWindow(NSWindow* window) {
|
| // NOTE: This doesn't work with Views, but the regular test does, so use that.
|
| bool mac_views = base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableMacViewsNativeAppWindows);
|
| - if (base::mac::IsOSMavericks() && !mac_views) {
|
| + if (base::mac::IsOS10_9() && !mac_views) {
|
| // -[NSView setNeedsDisplay:YES] doesn't synchronously display the view, it
|
| // gets drawn by another event in the queue, so let that run first.
|
| content::RunAllPendingInMessageLoop();
|
|
|