Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Issue 8537022: GTK: Shave ~15ms off each tab change. (Closed)

Created:
9 years, 1 month ago by Elliot Glaysher
Modified:
9 years, 1 month ago
Reviewers:
Evan Stade
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

GTK: Shave ~15ms off each tab change. Reparenting the bookmark bar on each tab change whether it needs it or not costs about 15ms. This usually is enough savings to get one more frame out of the new tab animation early on. Also, it's the Browser object's responsibility to update our toolbar; remove a duplicate call that already happened before the BrowserWindowGtk::ActiveTabChanged() Observer method was called. BUG=83106 TEST=Everything works about the bookmarks bar when changing tabs Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109928

Patch Set 1 #

Total comments: 1

Patch Set 2 : move comment to description #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M chrome/browser/ui/gtk/browser_window_gtk.cc View 1 2 chunks +11 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Elliot Glaysher
9 years, 1 month ago (2011-11-11 23:22:46 UTC) #1
Evan Stade
http://codereview.chromium.org/8537022/diff/1/chrome/browser/ui/gtk/browser_window_gtk.cc File chrome/browser/ui/gtk/browser_window_gtk.cc (right): http://codereview.chromium.org/8537022/diff/1/chrome/browser/ui/gtk/browser_window_gtk.cc#newcode1257 chrome/browser/ui/gtk/browser_window_gtk.cc:1257: // It's the Browser object's responsibility to update our ...
9 years, 1 month ago (2011-11-12 00:06:26 UTC) #2
Evan Stade
lgtm
9 years, 1 month ago (2011-11-12 00:06:32 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/8537022/5001
9 years, 1 month ago (2011-11-14 17:57:03 UTC) #4
commit-bot: I haz the power
9 years, 1 month ago (2011-11-14 19:12:50 UTC) #5
Change committed as 109928

Powered by Google App Engine
This is Rietveld 408576698