summaryrefslogtreecommitdiffstats
path: root/ash/wm/frame_painter_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/frame_painter_unittest.cc')
-rw-r--r--ash/wm/frame_painter_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/wm/frame_painter_unittest.cc b/ash/wm/frame_painter_unittest.cc
index 1bc6923..7790339 100644
--- a/ash/wm/frame_painter_unittest.cc
+++ b/ash/wm/frame_painter_unittest.cc
@@ -208,7 +208,7 @@ class FramePainterTest : public ash::test::AshTestBase {
TEST_F(FramePainterTest, CreateAndDeleteSingleWindow) {
// Ensure that creating/deleting a window works well and doesn't cause
// crashes. See crbug.com/155634
- aura::RootWindow* root = Shell::GetActiveRootWindow();
+ aura::RootWindow* root = Shell::GetTargetRootWindow();
scoped_ptr<Widget> widget(CreateTestWidget());
scoped_ptr<FramePainter> painter(CreateTestPainter(widget.get()));