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

Issue 417113011: Cast highestEnclosingNodeOfType() return value to tighter type (Closed)

Created:
6 years, 5 months ago by Inactive
Modified:
6 years, 4 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, dglazkov+blink
Project:
blink
Visibility:
Public.

Description

Cast highestEnclosingNodeOfType() return value to tighter type Cast highestEnclosingNodeOfType() return value to tighter type to increase code readability. This CL also renames the type checking functions passed to highestEnclosingNodeOfType() to make it clear what type of Node/Element is returned. R=leviw@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179093

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -55 lines) Patch
M Source/core/editing/BreakBlockquoteCommand.cpp View 1 4 chunks +5 lines, -4 lines 0 comments Download
M Source/core/editing/CompositeEditCommand.cpp View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/editing/DeleteSelectionCommand.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/editing/EditingStyle.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/editing/InsertParagraphSeparatorCommand.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/editing/ReplaceSelectionCommand.cpp View 1 2 7 chunks +14 lines, -14 lines 0 comments Download
M Source/core/editing/htmlediting.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/htmlediting.cpp View 1 3 chunks +20 lines, -15 lines 0 comments Download
M Source/core/editing/markup.cpp View 1 7 chunks +18 lines, -13 lines 0 comments Download
M Source/core/html/HTMLQuoteElement.h View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Inactive
6 years, 5 months ago (2014-07-25 22:18:29 UTC) #1
leviw_travelin_and_unemployed
LGTM.
6 years, 4 months ago (2014-07-28 21:24:45 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/417113011/1
6 years, 4 months ago (2014-07-28 21:25:17 UTC) #3
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-28 21:25:27 UTC) #4
commit-bot: I haz the power
Failed to apply patch for Source/core/editing/BreakBlockquoteCommand.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 4 months ago (2014-07-28 21:25:27 UTC) #5
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 4 months ago (2014-07-28 23:14:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/417113011/20001
6 years, 4 months ago (2014-07-28 23:15:20 UTC) #7
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-07-29 01:07:24 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-29 01:11:22 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/19352)
6 years, 4 months ago (2014-07-29 01:11:23 UTC) #10
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 4 months ago (2014-07-29 01:34:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/417113011/40001
6 years, 4 months ago (2014-07-29 01:35:04 UTC) #12
commit-bot: I haz the power
6 years, 4 months ago (2014-07-29 03:07:05 UTC) #13
Message was sent while issue was closed.
Change committed as 179093

Powered by Google App Engine
This is Rietveld 408576698