DescriptionFix some gcc 4.4 issues when compiling with toolkit_views.
Most of these squash harmless compiler warnings but the custom_button.cc
change fixes a real problem with the accelerator key bitmask calculation
(+ preceeds << in terms of operator precedence)
The change to tab_strip.cc is ugly but it fixes the following error:
chrome/browser/views/tabs/tab_strip.cc: In member function
‘void TabStrip::StartRemoveTabAnimation(int, TabContents*)’:
chrome/browser/views/tabs/tab_strip.cc:201: error: assuming
signed overflow does not occur when assuming that
(X - c) > X is always false
As an added bonus, this makes the Linux shared build of toolkit_views
work too.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25602
Patch Set 1 #
Total comments: 3
Patch Set 2 : Alternate fix for tab_strip.cc issue #Patch Set 3 : rebase against r25573 #
Total comments: 3
Patch Set 4 : Remove CreateFindBar, use COMPILER_GCC and add comments. #
Messages
Total messages: 5 (0 generated)
|