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

Issue 2422133002: Audit use of updateStyleAndLayoutIgnorePendingStylesheets in EditingStyle::removeStyleFromRulesAndC… (Closed)

Created:
4 years, 2 months ago by Xiaocheng
Modified:
4 years, 2 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, blink-reviews-style_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Audit use of updateStyleAndLayoutIgnorePendingStylesheets in EditingStyle::removeStyleFromRulesAndContext BUG=590369 Committed: https://crrev.com/7b5e3814db7dc05daa6522663ab9f2c4452a805c Cr-Commit-Position: refs/heads/master@{#425885}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add DCHECK for document activity #

Patch Set 3 : Add further notes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M third_party/WebKit/Source/core/editing/EditingStyle.cpp View 1 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Xiaocheng
PTAL.
4 years, 2 months ago (2016-10-17 09:03:23 UTC) #4
yosin_UTC9
https://codereview.chromium.org/2422133002/diff/1/third_party/WebKit/Source/core/editing/EditingStyle.cpp File third_party/WebKit/Source/core/editing/EditingStyle.cpp (right): https://codereview.chromium.org/2422133002/diff/1/third_party/WebKit/Source/core/editing/EditingStyle.cpp#newcode1417 third_party/WebKit/Source/core/editing/EditingStyle.cpp:1417: DCHECK_GE(element->document().lifecycle().state(), Could you add DCHECK(element->document().lifecylce().isActive()) for just in case? ...
4 years, 2 months ago (2016-10-17 09:45:18 UTC) #7
Xiaocheng
Updated. PTAL. https://codereview.chromium.org/2422133002/diff/1/third_party/WebKit/Source/core/editing/EditingStyle.cpp File third_party/WebKit/Source/core/editing/EditingStyle.cpp (right): https://codereview.chromium.org/2422133002/diff/1/third_party/WebKit/Source/core/editing/EditingStyle.cpp#newcode1417 third_party/WebKit/Source/core/editing/EditingStyle.cpp:1417: DCHECK_GE(element->document().lifecycle().state(), On 2016/10/17 at 09:45:18, Yosi_UTC9 wrote: ...
4 years, 2 months ago (2016-10-17 10:07:27 UTC) #10
yosin_UTC9
lgtm after adding TODO regarding update style. https://codereview.chromium.org/2422133002/diff/1/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp File third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp (right): https://codereview.chromium.org/2422133002/diff/1/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp#newcode612 third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp:612: document().updateStyleAndLayoutIgnorePendingStylesheets(); On ...
4 years, 2 months ago (2016-10-18 01:40:19 UTC) #13
Xiaocheng
Committing with more notes added.
4 years, 2 months ago (2016-10-18 02:12:17 UTC) #15
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/2422133002/40001
4 years, 2 months ago (2016-10-18 02:12:51 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-18 03:33:31 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 03:36:11 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7b5e3814db7dc05daa6522663ab9f2c4452a805c
Cr-Commit-Position: refs/heads/master@{#425885}

Powered by Google App Engine
This is Rietveld 408576698