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

Issue 2144673003: Audit the use of updateStyleAndLayoutIgnorePendingStylesheets in SearchBuffer. (Closed)

Created:
4 years, 5 months ago by dglazkov
Modified:
4 years, 5 months ago
Reviewers:
yosin, esprehn
CC:
blink-reviews, chromium-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Audit the use of updateStyleAndLayoutIgnorePendingStylesheets in SearchBuffer. BUG=590369 R=yosin,esprehn Committed: https://crrev.com/40fa5a0e328cf9b03798438c6d6e02738d786f4f Cr-Commit-Position: refs/heads/master@{#407212}

Patch Set 1 #

Patch Set 2 : Whoops, let's maybe compile first. #

Total comments: 3

Patch Set 3 : More sneaking up to the callsites. #

Patch Set 4 : Make sure the tests correctly flush the pipeline. #

Total comments: 4

Patch Set 5 : Feedback addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -12 lines) Patch
M third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/iterators/SearchBuffer.cpp View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/TextFinder.cpp View 1 2 3 4 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 1 chunk +13 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/TextFinderTest.cpp View 1 2 3 4 15 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (27 generated)
dglazkov
Whoops, let's maybe compile first.
4 years, 5 months ago (2016-07-12 19:38:43 UTC) #5
dglazkov
Still working on this, just comments for myself... https://codereview.chromium.org/2144673003/diff/20001/third_party/WebKit/Source/core/editing/Editor.cpp File third_party/WebKit/Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/2144673003/diff/20001/third_party/WebKit/Source/core/editing/Editor.cpp#newcode1238 third_party/WebKit/Source/core/editing/Editor.cpp:1238: frame().document()->updateStyleAndLayoutIgnorePendingStylesheets(); ...
4 years, 5 months ago (2016-07-13 22:40:11 UTC) #14
dglazkov
Make sure the tests correctly flush the pipeline.
4 years, 5 months ago (2016-07-15 18:06:38 UTC) #19
dglazkov
PTAL
4 years, 5 months ago (2016-07-15 19:40:27 UTC) #24
esprehn
lgtm, I suspect most callers here just want updateLayout(), I can't imagine editing needs us ...
4 years, 5 months ago (2016-07-22 05:57:10 UTC) #25
dglazkov
https://codereview.chromium.org/2144673003/diff/60001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp File third_party/WebKit/Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/2144673003/diff/60001/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp#newcode1965 third_party/WebKit/Source/web/WebLocalFrameImpl.cpp:1965: if (!frame() || !frame()->page()) On 2016/07/22 at 05:57:10, esprehn ...
4 years, 5 months ago (2016-07-22 16:40:50 UTC) #26
dglazkov
Feedback addressed.
4 years, 5 months ago (2016-07-22 16:56:52 UTC) #27
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/2144673003/80001
4 years, 5 months ago (2016-07-22 18:32:39 UTC) #34
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-22 18:37:48 UTC) #35
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 18:39:32 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/40fa5a0e328cf9b03798438c6d6e02738d786f4f
Cr-Commit-Position: refs/heads/master@{#407212}

Powered by Google App Engine
This is Rietveld 408576698