Commit 8beb0cd0 authored by avi@chromium.org's avatar avi@chromium.org

Revert "Force tabs to be integer widths."

This reverts commit r112107.

BUG=107269
TEST=as in bug

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114110 0039d316-1c4b-4281-b951-d872f2087c98
parent 005387e5
......@@ -6,7 +6,6 @@
#import <QuartzCore/QuartzCore.h>
#include <cmath>
#include <limits>
#include <string>
......@@ -859,8 +858,7 @@ private:
availableSpaceForNonMini += (numberOfOpenNonMiniTabs - 1) * kTabOverlap;
// Divide up the space between the non-mini-tabs.
nonMiniTabWidth =
std::floor(availableSpaceForNonMini / numberOfOpenNonMiniTabs);
nonMiniTabWidth = availableSpaceForNonMini / numberOfOpenNonMiniTabs;
// Clamp the width between the max and min.
nonMiniTabWidth = MAX(MIN(nonMiniTabWidth, kMaxTabWidth), kMinTabWidth);
......
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