Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2497)

Unified Diff: chrome/browser/ui/views/chrome_web_dialog_view.cc

Issue 2715983002: aura-mus: Remove dead code. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/chrome_web_dialog_view.cc
diff --git a/chrome/browser/ui/views/chrome_web_dialog_view.cc b/chrome/browser/ui/views/chrome_web_dialog_view.cc
index 93a3eec2c366cbc943edce2d2a4a5f3b24efc71d..14cc279c4b179a514848ed653e3387e20ba086b1 100644
--- a/chrome/browser/ui/views/chrome_web_dialog_view.cc
+++ b/chrome/browser/ui/views/chrome_web_dialog_view.cc
@@ -14,7 +14,6 @@
#include "chrome/browser/ui/ash/ash_util.h"
#include "services/ui/public/cpp/property_type_converters.h"
#include "services/ui/public/interfaces/window_manager.mojom.h"
-#include "ui/aura/mus/mus_util.h"
#endif // defined(USE_ASH)
namespace chrome {
@@ -47,10 +46,6 @@ gfx::NativeWindow ShowWebDialog(gfx::NativeView parent,
// NOTE: The |parent| may be null, which will result in the default window
// placement on Aura.
params.parent = parent;
-#if defined(USE_ASH)
- if (chrome::IsRunningInMash())
- params.parent_mus = aura::GetMusWindow(parent);
-#endif // defined(USE_ASH)
return ShowWebDialogWidget(params, view);
}
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698