Commit ab2f6b9c authored by scottmg's avatar scottmg Committed by Commit bot

Don't call ICoreWindow::Activate

Apparently (?) unnecessary, and it sometimes hangs in that call.

This doesn't seem to help the 16s timeout (per tryjobs here), but
doesn't seem to hurt either, and I can run on a local VM this way
at least.

BUG=411147

Review URL: https://codereview.chromium.org/583443005

Cr-Commit-Position: refs/heads/master@{#295594}
parent 58e62630
...@@ -677,12 +677,6 @@ ChromeAppViewAsh::Run() { ...@@ -677,12 +677,6 @@ ChromeAppViewAsh::Run() {
HRESULT hr = window_->get_Dispatcher(dispatcher.GetAddressOf()); HRESULT hr = window_->get_Dispatcher(dispatcher.GetAddressOf());
CheckHR(hr, "Dispatcher failed."); CheckHR(hr, "Dispatcher failed.");
hr = window_->Activate();
if (FAILED(hr)) {
DLOG(WARNING) << "activation failed hr=" << hr;
return hr;
}
// Create the IPC channel IO thread. It needs to out-live the ChannelProxy. // Create the IPC channel IO thread. It needs to out-live the ChannelProxy.
base::Thread io_thread("metro_IO_thread"); base::Thread io_thread("metro_IO_thread");
base::Thread::Options options; base::Thread::Options options;
......
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