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

Unified Diff: chrome/browser/ui/views/tabs/tab_unittest.cc

Issue 11795004: Continue threading context through unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « chrome/browser/ui/views/first_run_bubble_unittest.cc ('k') | ui/views/test/child_modal_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_unittest.cc
diff --git a/chrome/browser/ui/views/tabs/tab_unittest.cc b/chrome/browser/ui/views/tabs/tab_unittest.cc
index d35497a2f4ef75e551999d8a787264d24df1b9bb..5f87f93a1e9ab0f00e7e3a1da43f8d9bd61592f1 100644
--- a/chrome/browser/ui/views/tabs/tab_unittest.cc
+++ b/chrome/browser/ui/views/tabs/tab_unittest.cc
@@ -73,7 +73,7 @@ class TabTest : public views::ViewsTestBase {
TEST_F(TabTest, HitTestTopPixel) {
Widget widget;
- Widget::InitParams params;
+ Widget::InitParams params(CreateParams(Widget::InitParams::TYPE_WINDOW));
params.ownership = Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
params.bounds.SetRect(10, 20, 300, 400);
widget.Init(params);
« no previous file with comments | « chrome/browser/ui/views/first_run_bubble_unittest.cc ('k') | ui/views/test/child_modal_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698