DescriptionElim parent_window parameter from network_connect
We were passing a 'parent_window' parameter to the network_connect::ConnectToNetwork() in an effort to open network configuration dialogs from the desktop they were triggered from. This was never a good idea since gfx::NativeWindow is actually a pointer which may become invalid before the callback is triggered.
In practice this is unnecessary since we decided that all network configuration applies to the primary user, so we should always use the currently active desktop to host the dialog (which is what GetNativeWindow() does in ash_system_tray_delegate.cc).
BUG=413925
Committed: https://crrev.com/03f26fbfc374e0f2ff4f101a2d2472363ee860a7
Cr-Commit-Position: refs/heads/master@{#296969}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Elim includes #Messages
Total messages: 8 (2 generated)
|