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

Unified Diff: views/test/views_test_base.cc

Issue 8194004: change the way windows are parented when their parent is set to NULL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
Index: views/test/views_test_base.cc
===================================================================
--- views/test/views_test_base.cc (revision 104542)
+++ views/test/views_test_base.cc (working copy)
@@ -44,8 +44,6 @@
setup_called_ = true;
#if defined(USE_AURA)
aura::Desktop::set_compositor_factory_for_testing(&TestCreateCompositor);
- if (!aura::Desktop::GetInstance()->default_parent())
- aura::Desktop::GetInstance()->CreateDefaultParentForTesting();
#else
Widget::set_compositor_factory_for_testing(&TestCreateCompositor);
#endif
« ui/aura_shell/shell.h ('K') | « views/test/views_test_base.h ('k') | views/views.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698