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

Issue 2419383007: Remove layout updates from Editor::{applied,unapplied,reapplied}Editing (Closed)

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

Description

Remove layout updates from Editor::{applied,unapplied,reapplied}Editing This patch removes the updateStyleAndLayout calls from the above mentioned functions for the following reasons. The clean layout generated by the call in Editor::appliedEditing is only used by spell checker. However, that spell checker requires clean layout is an implementation detail and should not be exposed to callers. This patch moves the call into spell checker. The two calls in Editor::{un,re}appliedEditing appear to be useless as they are immediately followed by event dispatching, which does not require clean layout but may make the layout dirty again. So they are removed by this patch. BUG=590369 Committed: https://crrev.com/2363de77aa3111cbd8fa2f270c22e8d44cf0f77e Cr-Commit-Position: refs/heads/master@{#426167}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M third_party/WebKit/Source/core/editing/Editor.cpp View 3 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
Xiaocheng
PTAL.
4 years, 2 months ago (2016-10-19 03:44:51 UTC) #8
yosin_UTC9
lgtm
4 years, 2 months ago (2016-10-19 03:46:53 UTC) #10
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/2419383007/1
4 years, 2 months ago (2016-10-19 03:47:58 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years, 2 months ago (2016-10-19 06:00:40 UTC) #13
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/2419383007/1
4 years, 2 months ago (2016-10-19 10:30:11 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-19 13:05:35 UTC) #16
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:07:36 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2363de77aa3111cbd8fa2f270c22e8d44cf0f77e
Cr-Commit-Position: refs/heads/master@{#426167}

Powered by Google App Engine
This is Rietveld 408576698