Commit 046c8fdc authored by sidchat@google.com's avatar sidchat@google.com

Remove jankiness from bookmark animation for --show-extensions-on-top.

BUG=20927
TEST=none

Review URL: http://codereview.chromium.org/192039

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25680 0039d316-1c4b-4281-b951-d872f2087c98
parent 3e21d614
......@@ -1900,10 +1900,6 @@ int BrowserView::LayoutTopBar(int top) {
0 : bookmark_bar_view_->GetToolbarOverlap(false));
if (ShowExtensionsOnTop()) {
int extensionshelf_height = extension_shelf_->GetPreferredSize().height();
if (extensionshelf_height >= bookmark_bar_height)
bookmark_bar_height = extensionshelf_height;
if (!bookmark_bar_view_->IsDetachedStyle()) {
int extension_shelf_width =
extension_shelf_->GetPreferredSize().width();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment