|
|
Chromium Code Reviews|
Created:
4 years, 1 month ago by yosin_UTC9 Modified:
4 years ago CC:
blink-reviews, chromium-reviews, groby+blinkspell_chromium.org, timvolodine Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionUtilize FrameSelection::setSelection() taking SelectionInDOMTree/SelectionInFlatTree
This patch changes |FrameSelection:setSelection()| taking |VisibleSelection| and
|VisibleSelectionInFlatTRee| to use |SelectionIn{DOM,Flat}Tree| to reduce
usage of |VisibleSelection{,InFlatTree}| for improving code health.
BUG=657237
TEST=n/a; no behavior changes
Committed: https://crrev.com/1ab21eb247b8c05daf26de66bfb63a323c738866
Committed: https://crrev.com/31a4628dfd8c8633077d89d9abb34638547ad699
Cr-Original-Commit-Position: refs/heads/master@{#428660}
Cr-Commit-Position: refs/heads/master@{#434447}
Patch Set 1 : 2016-10-28T15:08:31 #Patch Set 2 : 2016-10-28T15:45:56 #
Total comments: 4
Patch Set 3 : 2016-10-31T13:44:40 #Patch Set 4 : 2016-11-24T13:04:01 Rebase #
Messages
Total messages: 55 (32 generated)
The CQ bit was checked by yosin@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-...) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by yosin@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from
==========
2016-10-28T15:08:31
BUG=
==========
to
==========
Utilize FrameSelection::setSelection() taking
SelectionInDOMTree/SelectionInFlatTree
This patch changes |FrameSelection:setSelection()| taking |VisibleSelection| and
|VisibleSelectionInFlatTRee| to use |SelectionIn{DOM,Flat}Tree| to reduce
usage of |VisibleSelection{,InFlatTree}| for improving code health.
BUG=657237
TEST=n/a; no behavior changes
==========
yosin@chromium.org changed reviewers: + xiaochengh@chromium.org, yoichio@chromium.org
PTAL
https://codereview.chromium.org/2457613004/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/editing/DOMSelection.cpp (right): https://codereview.chromium.org/2457613004/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/editing/DOMSelection.cpp:230: frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets(); We can remove this call now. https://codereview.chromium.org/2457613004/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/editing/DOMSelection.cpp:254: frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets(); We can remove this call now.
The CQ bit was checked by yosin@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
PTAL Get rid of redundant updateStyleAndLayoutI... as suggested https://codereview.chromium.org/2457613004/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/editing/DOMSelection.cpp (right): https://codereview.chromium.org/2457613004/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/editing/DOMSelection.cpp:230: frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets(); On 2016/10/28 at 10:09:43, Xiaocheng wrote: > We can remove this call now. Done. https://codereview.chromium.org/2457613004/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/editing/DOMSelection.cpp:254: frame()->document()->updateStyleAndLayoutIgnorePendingStylesheets(); On 2016/10/28 at 10:09:43, Xiaocheng wrote: > We can remove this call now. Done
lgtm
The CQ bit was checked by yosin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from
==========
Utilize FrameSelection::setSelection() taking
SelectionInDOMTree/SelectionInFlatTree
This patch changes |FrameSelection:setSelection()| taking |VisibleSelection| and
|VisibleSelectionInFlatTRee| to use |SelectionIn{DOM,Flat}Tree| to reduce
usage of |VisibleSelection{,InFlatTree}| for improving code health.
BUG=657237
TEST=n/a; no behavior changes
==========
to
==========
Utilize FrameSelection::setSelection() taking
SelectionInDOMTree/SelectionInFlatTree
This patch changes |FrameSelection:setSelection()| taking |VisibleSelection| and
|VisibleSelectionInFlatTRee| to use |SelectionIn{DOM,Flat}Tree| to reduce
usage of |VisibleSelection{,InFlatTree}| for improving code health.
BUG=657237
TEST=n/a; no behavior changes
Committed: https://crrev.com/1ab21eb247b8c05daf26de66bfb63a323c738866
Cr-Commit-Position: refs/heads/master@{#428660}
==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/1ab21eb247b8c05daf26de66bfb63a323c738866 Cr-Commit-Position: refs/heads/master@{#428660}
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2491763004/ by aelias@chromium.org. The reason for reverting is: Caused http://b/32727536.
The CQ bit was checked by yosin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by yosin@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from xiaochengh@chromium.org Link to the patchset: https://codereview.chromium.org/2457613004/#ps60001 (title: "2016-11-24T13:04:01 Rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by yosin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by yosin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by yosin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by yosin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by yosin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1480055545304300,
"parent_rev": "4f693ab5902d0f93010ce02b76dcb869060c48b6", "commit_rev":
"723fa14ae40d44a601f480b20fbc6374b69cc62b"}
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from
==========
Utilize FrameSelection::setSelection() taking
SelectionInDOMTree/SelectionInFlatTree
This patch changes |FrameSelection:setSelection()| taking |VisibleSelection| and
|VisibleSelectionInFlatTRee| to use |SelectionIn{DOM,Flat}Tree| to reduce
usage of |VisibleSelection{,InFlatTree}| for improving code health.
BUG=657237
TEST=n/a; no behavior changes
Committed: https://crrev.com/1ab21eb247b8c05daf26de66bfb63a323c738866
Cr-Commit-Position: refs/heads/master@{#428660}
==========
to
==========
Utilize FrameSelection::setSelection() taking
SelectionInDOMTree/SelectionInFlatTree
This patch changes |FrameSelection:setSelection()| taking |VisibleSelection| and
|VisibleSelectionInFlatTRee| to use |SelectionIn{DOM,Flat}Tree| to reduce
usage of |VisibleSelection{,InFlatTree}| for improving code health.
BUG=657237
TEST=n/a; no behavior changes
Committed: https://crrev.com/1ab21eb247b8c05daf26de66bfb63a323c738866
Committed: https://crrev.com/31a4628dfd8c8633077d89d9abb34638547ad699
Cr-Original-Commit-Position: refs/heads/master@{#428660}
Cr-Commit-Position: refs/heads/master@{#434447}
==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/31a4628dfd8c8633077d89d9abb34638547ad699 Cr-Commit-Position: refs/heads/master@{#434447} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
