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

Issue 2910813002: Editor::executeCommand() should have DCEHCK about frame is active (Closed)

Created:
3 years, 7 months ago by Tripta
Modified:
3 years, 6 months ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Editor::executeCommand() should have DCEHCK about frame is active BUG=695275 Review-Url: https://codereview.chromium.org/2910813002 Cr-Commit-Position: refs/heads/master@{#475856} Committed: https://chromium.googlesource.com/chromium/src/+/bdc74113995ad8e4c1b7cb0150431f90d30618bc

Patch Set 1 #

Total comments: 4

Patch Set 2 : Corrected isActive()->IsActive() #

Total comments: 4

Patch Set 3 : Removed line DCHECK(GetFrame().GetDocument()); #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (20 generated)
Tripta
Please review the code changes.
3 years, 7 months ago (2017-05-27 03:00:45 UTC) #4
a.suchit2
https://codereview.chromium.org/2910813002/diff/1/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp File third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp (right): https://codereview.chromium.org/2910813002/diff/1/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp#newcode2859 third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp:2859: DCHECK(GetFrame().GetDocument()->isActive()); It should be IsActive(). https://codereview.chromium.org/2910813002/diff/1/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp#newcode2897 third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp:2897: DCHECK(GetFrame().GetDocument()->isActive()); It ...
3 years, 6 months ago (2017-05-29 05:39:21 UTC) #9
a.suchit2
This patch may not be needed because all layout calls are going to remove. This ...
3 years, 6 months ago (2017-05-29 06:19:55 UTC) #10
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/2910813002/20001
3 years, 6 months ago (2017-05-30 11:50:26 UTC) #17
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 6 months ago (2017-05-30 11:50:27 UTC) #19
Tripta
Please review code changes.
3 years, 6 months ago (2017-05-30 11:55:24 UTC) #21
yosin_UTC9
lgtm w/ nits Thanks for working this! https://codereview.chromium.org/2910813002/diff/20001/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp File third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp (right): https://codereview.chromium.org/2910813002/diff/20001/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp#newcode2858 third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp:2858: DCHECK(GetFrame().GetDocument()); nit: ...
3 years, 6 months ago (2017-05-31 02:12:46 UTC) #22
Tripta
Have removed line DCHECK(GetFrame().GetDocument()); Thank you https://codereview.chromium.org/2910813002/diff/1/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp File third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp (right): https://codereview.chromium.org/2910813002/diff/1/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp#newcode2859 third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp:2859: DCHECK(GetFrame().GetDocument()->isActive()); On 2017/05/29 ...
3 years, 6 months ago (2017-05-31 07:15:58 UTC) #23
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/2910813002/40001
3 years, 6 months ago (2017-05-31 07:18:27 UTC) #26
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 09:28:57 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/bdc74113995ad8e4c1b7cb015043...

Powered by Google App Engine
This is Rietveld 408576698