summaryrefslogtreecommitdiffstats
path: root/ash/keyboard_overlay
diff options
context:
space:
mode:
Diffstat (limited to 'ash/keyboard_overlay')
-rw-r--r--ash/keyboard_overlay/keyboard_overlay_view_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/keyboard_overlay/keyboard_overlay_view_unittest.cc b/ash/keyboard_overlay/keyboard_overlay_view_unittest.cc
index aaf8789..8875f0e 100644
--- a/ash/keyboard_overlay/keyboard_overlay_view_unittest.cc
+++ b/ash/keyboard_overlay/keyboard_overlay_view_unittest.cc
@@ -27,7 +27,7 @@ bool operator==(const KeyboardOverlayView::KeyEventData& lhs,
TEST_F(KeyboardOverlayViewTest, OpenAcceleratorsClose) {
ui::test::TestWebDialogDelegate delegate(GURL("chrome://keyboardoverlay"));
KeyboardOverlayView view(
- Shell::GetInstance()->delegate()->GetCurrentBrowserContext(),
+ Shell::GetInstance()->delegate()->GetActiveBrowserContext(),
&delegate,
new ui::test::TestWebContentsHandler);
for (size_t i = 0; i < kAcceleratorDataLength; ++i) {