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

Issue 54363006: Have ReplaceSelectionCommand::InsertedNodes API take references in argument (Closed)

Created:
7 years, 1 month ago by Inactive
Modified:
7 years, 1 month ago
Reviewers:
adamk
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Have ReplaceSelectionCommand::InsertedNodes API take references in argument Have ReplaceSelectionCommand::InsertedNodes API take references in argument. This makes the code look safer and gets rid of several unnecessary null checks. R=adamk Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161257

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix nit #

Patch Set 3 : Rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -31 lines) Patch
M Source/core/editing/ReplaceSelectionCommand.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/editing/ReplaceSelectionCommand.cpp View 1 2 14 chunks +26 lines, -27 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Inactive
7 years, 1 month ago (2013-10-31 19:47:42 UTC) #1
adamk
lgtm https://codereview.chromium.org/54363006/diff/1/Source/core/editing/ReplaceSelectionCommand.cpp File Source/core/editing/ReplaceSelectionCommand.cpp (right): https://codereview.chromium.org/54363006/diff/1/Source/core/editing/ReplaceSelectionCommand.cpp#newcode482 Source/core/editing/ReplaceSelectionCommand.cpp:482: HTMLElement& htmlElement = toHTMLElement(*element); This doesn't look like ...
7 years, 1 month ago (2013-10-31 20:10:41 UTC) #2
Inactive
https://codereview.chromium.org/54363006/diff/1/Source/core/editing/ReplaceSelectionCommand.cpp File Source/core/editing/ReplaceSelectionCommand.cpp (right): https://codereview.chromium.org/54363006/diff/1/Source/core/editing/ReplaceSelectionCommand.cpp#newcode488 Source/core/editing/ReplaceSelectionCommand.cpp:488: insertedNodes.didReplaceNode(htmlElement, *node); Ok, then I guess I will have ...
7 years, 1 month ago (2013-10-31 20:16:24 UTC) #3
Inactive
https://codereview.chromium.org/54363006/diff/1/Source/core/editing/ReplaceSelectionCommand.cpp File Source/core/editing/ReplaceSelectionCommand.cpp (right): https://codereview.chromium.org/54363006/diff/1/Source/core/editing/ReplaceSelectionCommand.cpp#newcode482 Source/core/editing/ReplaceSelectionCommand.cpp:482: HTMLElement& htmlElement = toHTMLElement(*element); On 2013/10/31 20:10:41, adamk wrote: ...
7 years, 1 month ago (2013-10-31 20:33:25 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/54363006/80001
7 years, 1 month ago (2013-10-31 20:34:59 UTC) #5
commit-bot: I haz the power
Failed to apply patch for Source/core/editing/ReplaceSelectionCommand.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-10-31 21:43:49 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/54363006/210001
7 years, 1 month ago (2013-11-01 15:49:49 UTC) #7
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=15214
7 years, 1 month ago (2013-11-01 17:16:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/54363006/210001
7 years, 1 month ago (2013-11-04 16:28:46 UTC) #9
commit-bot: I haz the power
7 years, 1 month ago (2013-11-04 17:49:02 UTC) #10
Message was sent while issue was closed.
Change committed as 161257

Powered by Google App Engine
This is Rietveld 408576698