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

Issue 423413005: Use tighter typing in editing: ReplaceSelectionCommand (Closed)

Created:
6 years, 4 months ago by Inactive
Modified:
6 years, 4 months ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Use tighter typing in editing: ReplaceSelectionCommand Use tighter typing in editing/ to increase code readability and to avoid unnecessary type checks. This CL focuses on ReplaceSelectionCommand. R=leviw@chromium.org, yosin@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180076

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 3

Patch Set 3 : Revert bad change #

Total comments: 4

Patch Set 4 : Wrap lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -107 lines) Patch
M Source/core/editing/ApplyStyleCommand.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/ApplyStyleCommand.cpp View 1 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/editing/CompositeEditCommand.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/CompositeEditCommand.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/ReplaceSelectionCommand.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/editing/ReplaceSelectionCommand.cpp View 1 2 3 40 chunks +108 lines, -97 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Inactive
6 years, 4 months ago (2014-07-30 19:18:53 UTC) #1
yosin_UTC9
LGTM
6 years, 4 months ago (2014-08-01 02:11:29 UTC) #2
Inactive
On 2014/08/01 02:11:29, Yosi_UTC9 wrote: > LGTM Levi, can you please take a look as ...
6 years, 4 months ago (2014-08-01 13:04:49 UTC) #3
Inactive
On 2014/08/01 13:04:49, Chris Dumez wrote: > On 2014/08/01 02:11:29, Yosi_UTC9 wrote: > > LGTM ...
6 years, 4 months ago (2014-08-04 19:45:23 UTC) #4
Inactive
I rebased the patch, PTAL.
6 years, 4 months ago (2014-08-06 13:01:33 UTC) #5
leviw_travelin_and_unemployed
https://codereview.chromium.org/423413005/diff/20001/Source/core/editing/ReplaceSelectionCommand.cpp File Source/core/editing/ReplaceSelectionCommand.cpp (right): https://codereview.chromium.org/423413005/diff/20001/Source/core/editing/ReplaceSelectionCommand.cpp#newcode92 Source/core/editing/ReplaceSelectionCommand.cpp:92: void restoreAndRemoveTestRenderingNodesToFragment(ContainerNode*); This is less tight typing. Why?
6 years, 4 months ago (2014-08-06 20:58:07 UTC) #6
Inactive
https://codereview.chromium.org/423413005/diff/20001/Source/core/editing/ReplaceSelectionCommand.cpp File Source/core/editing/ReplaceSelectionCommand.cpp (right): https://codereview.chromium.org/423413005/diff/20001/Source/core/editing/ReplaceSelectionCommand.cpp#newcode92 Source/core/editing/ReplaceSelectionCommand.cpp:92: void restoreAndRemoveTestRenderingNodesToFragment(ContainerNode*); On 2014/08/06 20:58:07, leviw wrote: > This ...
6 years, 4 months ago (2014-08-06 21:00:05 UTC) #7
Inactive
https://codereview.chromium.org/423413005/diff/20001/Source/core/editing/ReplaceSelectionCommand.cpp File Source/core/editing/ReplaceSelectionCommand.cpp (right): https://codereview.chromium.org/423413005/diff/20001/Source/core/editing/ReplaceSelectionCommand.cpp#newcode92 Source/core/editing/ReplaceSelectionCommand.cpp:92: void restoreAndRemoveTestRenderingNodesToFragment(ContainerNode*); On 2014/08/06 21:00:05, Chris Dumez wrote: > ...
6 years, 4 months ago (2014-08-06 21:07:49 UTC) #8
Inactive
Levi, any additional comment on this?
6 years, 4 months ago (2014-08-11 21:05:38 UTC) #9
leviw_travelin_and_unemployed
lgtm. https://codereview.chromium.org/423413005/diff/40001/Source/core/editing/ReplaceSelectionCommand.cpp File Source/core/editing/ReplaceSelectionCommand.cpp (right): https://codereview.chromium.org/423413005/diff/40001/Source/core/editing/ReplaceSelectionCommand.cpp#newcode523 Source/core/editing/ReplaceSelectionCommand.cpp:523: HTMLQuoteElement* blockquoteElement = !context || isMailPasteAsQuotationHTMLBlockQuoteElement(context) ? toHTMLQuoteElement(context) ...
6 years, 4 months ago (2014-08-11 22:13:28 UTC) #10
Inactive
https://codereview.chromium.org/423413005/diff/40001/Source/core/editing/ReplaceSelectionCommand.cpp File Source/core/editing/ReplaceSelectionCommand.cpp (right): https://codereview.chromium.org/423413005/diff/40001/Source/core/editing/ReplaceSelectionCommand.cpp#newcode523 Source/core/editing/ReplaceSelectionCommand.cpp:523: HTMLQuoteElement* blockquoteElement = !context || isMailPasteAsQuotationHTMLBlockQuoteElement(context) ? toHTMLQuoteElement(context) : ...
6 years, 4 months ago (2014-08-12 12:59:15 UTC) #11
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 4 months ago (2014-08-12 12:59:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/423413005/60001
6 years, 4 months ago (2014-08-12 13:00:13 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-12 14:05:24 UTC) #14
commit-bot: I haz the power
6 years, 4 months ago (2014-08-12 14:47:54 UTC) #15
Message was sent while issue was closed.
Change committed as 180076

Powered by Google App Engine
This is Rietveld 408576698