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

Unified Diff: ui/views/controls/native/native_view_host_unittest.cc

Issue 11416251: Desktop aura: Continue threading context through views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix erroneously removed line from NWWin tests. Created 8 years 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: ui/views/controls/native/native_view_host_unittest.cc
diff --git a/ui/views/controls/native/native_view_host_unittest.cc b/ui/views/controls/native/native_view_host_unittest.cc
index 63d9c8c95ae0c4f4a94c8a56ab950ec2f6e5b3cd..93e34c29cf78ee94cbe62425bd953b3f14444fc3 100644
--- a/ui/views/controls/native/native_view_host_unittest.cc
+++ b/ui/views/controls/native/native_view_host_unittest.cc
@@ -78,8 +78,8 @@ HWND GetNativeParent(HWND window) {
TEST_F(NativeViewHostTest, NativeViewHierarchyChanged) {
// Create the top level widget.
scoped_ptr<Widget> toplevel(new Widget);
- Widget::InitParams toplevel_params(Widget::InitParams::TYPE_WINDOW);
- toplevel_params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
+ Widget::InitParams toplevel_params =
+ CreateParams(Widget::InitParams::TYPE_POPUP);
toplevel->Init(toplevel_params);
toplevel->SetContentsView(new View);
« no previous file with comments | « ui/views/controls/combobox/native_combobox_views_unittest.cc ('k') | ui/views/controls/scrollbar/scrollbar_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698