Commit 4909591a authored by Evan Stade's avatar Evan Stade Committed by Commit Bot

Fix a unit test for single process mash.

- ArcVoiceInteractionFrameworkServiceTest.CapturingScreenshotBlocksIncognitoWindows

Bug: 905430
Change-Id: If332da0d0abcd722a82a51c9a84bc39d2c0735e3
Reviewed-on: https://chromium-review.googlesource.com/c/1354678Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#613141}
parent d2a03d7a
...@@ -100,8 +100,8 @@ class TestHighlighterController : public ash::mojom::HighlighterController, ...@@ -100,8 +100,8 @@ class TestHighlighterController : public ash::mojom::HighlighterController,
std::unique_ptr<TestBrowserWindow> CreateTestBrowserWindow( std::unique_ptr<TestBrowserWindow> CreateTestBrowserWindow(
aura::Window* parent) { aura::Window* parent) {
auto window = auto window = std::make_unique<aura::Window>(
std::make_unique<aura::Window>(nullptr, aura::client::WINDOW_TYPE_NORMAL); nullptr, aura::client::WINDOW_TYPE_NORMAL, parent->env());
window->Init(ui::LAYER_TEXTURED); window->Init(ui::LAYER_TEXTURED);
window->SetBounds(gfx::Rect(0, 0, 200, 200)); window->SetBounds(gfx::Rect(0, 0, 200, 200));
parent->AddChild(window.get()); parent->AddChild(window.get());
......
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