diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 21:58:39 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-07 21:58:39 +0000 |
commit | 4419bbe525d2d15b5261e48113360c27a81c9535 (patch) | |
tree | c24b4635ee2325cfad8a67de65cc5c904a6b8349 /chrome/browser/tab_contents | |
parent | c509d4296f7d395705b0504bf9de0c4126d14313 (diff) | |
download | chromium_src-4419bbe525d2d15b5261e48113360c27a81c9535.zip chromium_src-4419bbe525d2d15b5261e48113360c27a81c9535.tar.gz chromium_src-4419bbe525d2d15b5261e48113360c27a81c9535.tar.bz2 |
Revert 61793 - [Mac] Set the TabContentsViewCocoa's resizing mask at creation time.
Caused http://crbug.com/58360
It is better to set this mask once, at creation, rather than scattered about the code at insertion time.
BUG=None
TEST=Browser window should still resize properly.
Review URL: http://codereview.chromium.org/3564019
TBR=rohitrao@chromium.org
Review URL: http://codereview.chromium.org/3533019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61859 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents_view_mac.mm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.mm b/chrome/browser/tab_contents/tab_contents_view_mac.mm index f19c0a4..9085525 100644 --- a/chrome/browser/tab_contents/tab_contents_view_mac.mm +++ b/chrome/browser/tab_contents/tab_contents_view_mac.mm @@ -80,7 +80,6 @@ TabContentsViewMac::~TabContentsViewMac() { void TabContentsViewMac::CreateView(const gfx::Size& initial_size) { TabContentsViewCocoa* view = [[TabContentsViewCocoa alloc] initWithTabContentsViewMac:this]; - [view setAutoresizingMask:NSViewWidthSizable|NSViewHeightSizable]; cocoa_view_.reset(view); } |