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

Issue 10916222: Conservative update button/label/textfield content (Closed)

Created:
8 years, 3 months ago by sheu
Modified:
8 years, 3 months ago
CC:
chromium-reviews, tfarina, James Su, penghuang+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://git.chromium.org/git/chromium/src@git-svn
Visibility:
Public.

Description

Conservative update button/label/textfield content Saves a repaint when no change actually occurs. BUG=chrome-os-partner:13141 TEST=build, run on lumpy, lucas Change-Id: I6ccb75141b7639571e24b2fbf7e3986d85e98cbc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156200

Patch Set 1 #

Total comments: 3

Patch Set 2 : Nit fixes.wq #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M ui/views/controls/button/text_button.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/controls/label.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
sheu
Round 1.
8 years, 3 months ago (2012-09-11 20:42:09 UTC) #1
Daniel Erat
https://chromiumcodereview.appspot.com/10916222/diff/1/ui/views/controls/button/text_button.cc File ui/views/controls/button/text_button.cc (right): https://chromiumcodereview.appspot.com/10916222/diff/1/ui/views/controls/button/text_button.cc#newcode294 ui/views/controls/button/text_button.cc:294: if (text != text_) { nit: just: if (text ...
8 years, 3 months ago (2012-09-11 20:53:37 UTC) #2
sheu
up!
8 years, 3 months ago (2012-09-11 21:29:27 UTC) #3
Daniel Erat
lgtm
8 years, 3 months ago (2012-09-11 21:32:43 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/10916222/6001
8 years, 3 months ago (2012-09-11 22:02:50 UTC) #5
commit-bot: I haz the power
Presubmit check for 10916222-6001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-09-11 22:02:54 UTC) #6
Ben Goodger (Google)
lgtm
8 years, 3 months ago (2012-09-11 22:26:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/10916222/6001
8 years, 3 months ago (2012-09-11 22:51:55 UTC) #8
commit-bot: I haz the power
8 years, 3 months ago (2012-09-12 01:31:34 UTC) #9
Change committed as 156200

Powered by Google App Engine
This is Rietveld 408576698