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

Issue 2273253002: Cleanup overloads of isSpellCheckingEnabledFor (Closed)

Created:
4 years, 3 months ago by Xiaocheng
Modified:
4 years, 3 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews, groby+blinkspell_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@RestrictTextCheckingParagraph
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup overloads of isSpellCheckingEnabledFor This patch cleans up the two overloads of the function as follows: SpellChecker::isSpellCheckingEnabledFor(const VisibleSelection&) is changed into a static function in SpellChecker.cpp since it does not have call site outside SpellChecker. SpellChecker::isSpellCheckingEnabledFor(const Node*) is absorbed by is wrapper SpellChecker::isSpellCheckingEnabledInFocusedNode(). BUG=n/a TEST=n/a; no behavior change Committed: https://crrev.com/26470a9df2acd9706ee8bcd903cdc07f018cef52 Cr-Commit-Position: refs/heads/master@{#414333}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -32 lines) Patch
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 5 chunks +23 lines, -30 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (10 generated)
Xiaocheng
PTAL.
4 years, 3 months ago (2016-08-25 05:00:43 UTC) #7
yosin_UTC9
lgtm
4 years, 3 months ago (2016-08-25 05:15:18 UTC) #9
commit-bot: I haz the power
This CL has an open dependency (Issue 2273453003 Patch 20001). Please resolve the dependency and ...
4 years, 3 months ago (2016-08-25 05:15:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2273253002/1
4 years, 3 months ago (2016-08-25 05:44:07 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-25 05:49:47 UTC) #14
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 05:52:35 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/26470a9df2acd9706ee8bcd903cdc07f018cef52
Cr-Commit-Position: refs/heads/master@{#414333}

Powered by Google App Engine
This is Rietveld 408576698