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

Issue 8761005: Fixes 105893 (Closed)

Created:
9 years ago by pkotwicz
Modified:
9 years ago
Reviewers:
msw, xji, sky
CC:
chromium-reviews, James Su, Ben Goodger (Google), jonathan.backer
Visibility:
Public.

Description

Upon calling RenderText::SelectRange, the selection style should be applied. The layout is generated via IsCursorablePosition, however it seems as if it needs to be regenerated once the selection model is set. The bug manifests itself as the text selected text being the wrong color when the omnibox text is selected via Ctrl-L BUG=105893 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112704

Patch Set 1 #

Patch Set 2 : Nicer diff #

Patch Set 3 : Putting back UpdateLayer in SetSelectionModel #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M ui/gfx/render_text.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
pkotwicz
This fixes a bug with the selected text color (Bug 105893). Please send me your ...
9 years ago (2011-11-30 23:01:59 UTC) #1
pkotwicz
9 years ago (2011-11-30 23:02:41 UTC) #2
msw
Actually, this looks like a regression from Xiaomei's crrev.com/112188, which removed the UpdateLayout call amidst ...
9 years ago (2011-11-30 23:24:33 UTC) #3
xji
On 2011/11/30 23:24:33, msw wrote: > Actually, this looks like a regression from Xiaomei's crrev.com/112188, ...
9 years ago (2011-12-01 08:48:04 UTC) #4
msw
Good point, if we can update color and redraw without going through layout, that'd be ...
9 years ago (2011-12-01 19:07:50 UTC) #5
xji
On 2011/12/01 19:07:50, msw wrote: > Good point, if we can update color and redraw ...
9 years ago (2011-12-01 20:29:10 UTC) #6
pkotwicz
As Michael suggested, I am putting back UpdateLayer in SetSelectionModel and will tackle the perf ...
9 years ago (2011-12-01 22:07:59 UTC) #7
msw
LGTM
9 years ago (2011-12-01 22:13:57 UTC) #8
xji
On 2011/12/01 22:13:57, msw wrote: > LGTM LGTM. Thanks for explaining the problem. I missed ...
9 years ago (2011-12-01 22:37:52 UTC) #9
pkotwicz
Cool, I created a bug so that we don't lose track of reremoving UpdateLayout from ...
9 years ago (2011-12-01 23:18:03 UTC) #10
sky
LGTM
9 years ago (2011-12-02 00:02:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/8761005/7001
9 years ago (2011-12-02 14:27:51 UTC) #12
commit-bot: I haz the power
9 years ago (2011-12-02 15:46:10 UTC) #13
Change committed as 112704

Powered by Google App Engine
This is Rietveld 408576698