Fix ash shell child modal window example
Attempting to use this example crashes otherwise: [233814:233814:0703/151833.248652:FATAL:native_widget_aura.cc(151)] Check failed: params.parent || params.context. #0 0x7f45424a2f7c base::debug::StackTrace::StackTrace() #1 0x7f45423f23bb logging::LogMessage::~LogMessage() #2 0x7f453db8604b views::NativeWidgetAura::InitNativeWidget() #3 0x7f453db68157 views::Widget::Init() #4 0x0000004e76bd ash::TestChildModalParent::TestChildModalParent() #5 0x0000004e74ee ash::TestChildModalParent::Create() #6 0x7f453daefbed views::Button::OnMouseReleased() Bug: NONE Test: No ash_shell_with_content crash showing child modal window. Change-Id: Ic6a2382676d54ea47fd1a6a70b0209c26fd3d87f Reviewed-on: https://chromium-review.googlesource.com/1125294Reviewed-by:James Cook <jamescook@chromium.org> Commit-Queue: Michael Wasserman <msw@chromium.org> Cr-Commit-Position: refs/heads/master@{#572414}
Showing
Please register or sign in to comment