Commit 440f2144 authored by Alan Cutter's avatar Alan Cutter Committed by Commit Bot

Force Mac Views for HostedAppOpaqueBrowserFrameViewTest on mac-cocoa-rel

This CL makes HostedAppOpaqueBrowserFrameViewTest force enable Mac Views
to fix a crash on mac-cocoa-rel.

Bug: 885164
Change-Id: I8cd754954c9119a65c8aca94b7a07f2159e3f95d
Reviewed-on: https://chromium-review.googlesource.com/1237733Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
Commit-Queue: Alan Cutter <alancutter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#593073}
parent 55e6e6c7
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include "chrome/common/chrome_features.h" #include "chrome/common/chrome_features.h"
#include "chrome/common/web_application_info.h" #include "chrome/common/web_application_info.h"
#include "chrome/test/base/in_process_browser_test.h" #include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/views/scoped_macviews_browser_mode.h"
// Tests hosted app windows that use the OpaqueBrowserFrameView implementation // Tests hosted app windows that use the OpaqueBrowserFrameView implementation
// for their non client frames. // for their non client frames.
...@@ -64,6 +65,8 @@ class HostedAppOpaqueBrowserFrameViewTest : public InProcessBrowserTest { ...@@ -64,6 +65,8 @@ class HostedAppOpaqueBrowserFrameViewTest : public InProcessBrowserTest {
HostedAppButtonContainer* hosted_app_button_container_ = nullptr; HostedAppButtonContainer* hosted_app_button_container_ = nullptr;
private: private:
test::ScopedMacViewsBrowserMode force_mac_views_{true};
DISALLOW_COPY_AND_ASSIGN(HostedAppOpaqueBrowserFrameViewTest); DISALLOW_COPY_AND_ASSIGN(HostedAppOpaqueBrowserFrameViewTest);
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment