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

Unified Diff: ui/views/test/widget_test_aura.cc

Issue 2668833003: DialogBrowserTest implementation to invoke Content settings bubble dialogs. (Closed)
Patch Set: Merge fix from https://codereview.chromium.org/2663163004. This is temporary 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
« chrome/test/BUILD.gn ('K') | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/widget_test_aura.cc
diff --git a/ui/views/test/widget_test_aura.cc b/ui/views/test/widget_test_aura.cc
index 8cabaf5cf256a5634350549cb3f7e8ccdf606520..53af04557b2b0743e37927e8208e277471f65074 100644
--- a/ui/views/test/widget_test_aura.cc
+++ b/ui/views/test/widget_test_aura.cc
@@ -163,10 +163,10 @@ bool WidgetTest::IsNativeWindowTransparent(gfx::NativeWindow window) {
// static
Widget::Widgets WidgetTest::GetAllWidgets() {
- std::vector<aura::Window*> toplevel = GetAllTopLeveLWindows();
+ std::vector<aura::Window*> toplevels = GetAllTopLeveLWindows();
Widget::Widgets all_widgets;
- for (aura::Window* root : toplevel)
- Widget::GetAllChildWidgets(root, &all_widgets);
+ for (aura::Window* window : toplevels)
+ Widget::GetAllChildWidgets(window->GetRootWindow(), &all_widgets);
tapted 2017/02/03 23:07:03 This shouldn't be landed with this CL -- it needs
tapted 2017/02/06 09:34:31 (oops - I missed the "this is temporary" note you
return all_widgets;
}
« chrome/test/BUILD.gn ('K') | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698