Commit 91e0f47e authored by Leonard Grey's avatar Leonard Grey Committed by Commit Bot

Fix BrowserNonClientFrameViewBrowserTest for dark mode

Bug: None
Change-Id: Ia4af230ed8d5200a98eafae136eb96a0bc56fd48
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2028153
Commit-Queue: Leonard Grey <lgrey@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Auto-Submit: Leonard Grey <lgrey@chromium.org>
Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736436}
parent 8ed4bc51
......@@ -120,8 +120,9 @@ IN_PROC_BROWSER_TEST_F(BrowserNonClientFrameViewBrowserTest,
app_theme_color_.reset();
InstallAndLaunchBookmarkApp();
// Bookmark apps are not affected by browser themes.
EXPECT_EQ(
ThemeProperties::GetDefaultColor(ThemeProperties::COLOR_FRAME, false),
EXPECT_EQ(ThemeProperties::GetDefaultColor(
ThemeProperties::COLOR_FRAME, false,
app_frame_view_->GetNativeTheme()->ShouldUseDarkColors()),
app_frame_view_->GetFrameColor(BrowserFrameActiveState::kActive));
}
......
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