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

Issue 2816953002: Shorten FrameSelection::IsAppearanceDirty() call stack (Closed)

Created:
3 years, 8 months ago by yoichio
Modified:
3 years, 8 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews, blink-reviews-frames_chromium.org, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Shorten FrameSelection::IsAppearanceDirty() call stack IsAppearanceDirty() is called only from FrameView.cpp so call it directly w/o Layout API. Also rename it to NeedsLayoutSelectionUpdate(). BUG=708453 Review-Url: https://codereview.chromium.org/2816953002 Cr-Commit-Position: refs/heads/master@{#464653} Committed: https://chromium.googlesource.com/chromium/src/+/a1bd9cb4fe2557db40620f62766eb2e111b12de1

Patch Set 1 #

Total comments: 2

Patch Set 2 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -10 lines) Patch
M third_party/WebKit/Source/core/editing/FrameSelection.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/api/LayoutViewItem.h View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
yoichio
3 years, 8 months ago (2017-04-13 08:57:59 UTC) #5
yosin_UTC9
Cool! https://codereview.chromium.org/2816953002/diff/1/third_party/WebKit/Source/core/editing/FrameSelection.h File third_party/WebKit/Source/core/editing/FrameSelection.h (right): https://codereview.chromium.org/2816953002/diff/1/third_party/WebKit/Source/core/editing/FrameSelection.h#newcode186 third_party/WebKit/Source/core/editing/FrameSelection.h:186: bool IsLayoutSelectionNeedsUpdate() const; nit: s/IsLayoutSelectionNeedsUpdate()/NeedsLayoutSelectionUpdate()/ Like |Document::NeedsLayoutTreeUpdate()|, |Document::NeedsFullLayoutTreeUpdate()|, ...
3 years, 8 months ago (2017-04-13 09:00:34 UTC) #6
yoichio
https://codereview.chromium.org/2816953002/diff/1/third_party/WebKit/Source/core/editing/FrameSelection.h File third_party/WebKit/Source/core/editing/FrameSelection.h (right): https://codereview.chromium.org/2816953002/diff/1/third_party/WebKit/Source/core/editing/FrameSelection.h#newcode186 third_party/WebKit/Source/core/editing/FrameSelection.h:186: bool IsLayoutSelectionNeedsUpdate() const; On 2017/04/13 09:00:34, yosin_UTC9 wrote: > ...
3 years, 8 months ago (2017-04-13 09:24:10 UTC) #7
yosin_UTC9
lgtm
3 years, 8 months ago (2017-04-13 09:32:24 UTC) #9
yoichio
Kent, could you stamp on this?
3 years, 8 months ago (2017-04-13 10:48:27 UTC) #13
tkent
lgtm
3 years, 8 months ago (2017-04-13 22:59:20 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/2816953002/20001
3 years, 8 months ago (2017-04-13 23:00:00 UTC) #16
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 8 months ago (2017-04-14 00:44:53 UTC) #19
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/2816953002/20001
3 years, 8 months ago (2017-04-14 01:46:53 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-04-14 01:52:48 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a1bd9cb4fe2557db40620f62766e...

Powered by Google App Engine
This is Rietveld 408576698