DescriptionGTK: fix tabstrip index misalignment during tab removal.
Repro steps:
- open a gmail tab and get someone to message you such that the tab title keeps changing
- put that tab to the right of a bunch of other tabs
- close a bunch of the tabs to the left of gmail
Each time you close a tab you have about a 10% chance of reproing.
The solution is essentially copy-pasted from the windows tabstrip.
The Browser change is somewhat unrelated. I noticed the comment "Do not dereference |contents|" and that we were in fact dereferncing |contents|, so I worked around it.
BUG=13811
Patch Set 1 #Patch Set 2 : remove debugging code #
Messages
Total messages: 2 (0 generated)
|