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

Issue 11820018: Clean up: remove unnecessary if-branches on initialization of the a11y prefs. (Closed)

Created:
7 years, 11 months ago by yoshiki
Modified:
7 years, 11 months ago
Reviewers:
Daniel Erat
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Clean up: remove unnecessary if-branches on initialization of the a11y prefs. According to the comment at preferences.cc:96, some accessibility prefs may be already registered in WizardController::RegisterPrefs. But the magnifier prefs are never registered there, hence we can remove if statements. BUG=none TEST=launch ChromeOS, and login. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175826

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -18 lines) Patch
M chrome/browser/chromeos/preferences.cc View 2 chunks +11 lines, -18 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
yoshiki
@derat: could you take a look? Thanks,
7 years, 11 months ago (2013-01-09 08:13:40 UTC) #1
Daniel Erat
lgtm Thanks!
7 years, 11 months ago (2013-01-09 15:33:29 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/11820018/1
7 years, 11 months ago (2013-01-09 15:34:30 UTC) #3
commit-bot: I haz the power
7 years, 11 months ago (2013-01-09 17:52:27 UTC) #4
Message was sent while issue was closed.
Change committed as 175826

Powered by Google App Engine
This is Rietveld 408576698