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

Unified Diff: third_party/WebKit/Source/core/editing/commands/DeleteFromTextNodeCommand.cpp

Issue 2149243003: [Editing][DOM][CodeHealth] Remove unused enum Node::UserSelectAllTreatment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/commands/DeleteFromTextNodeCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/DeleteFromTextNodeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/DeleteFromTextNodeCommand.cpp
index 78d7cc4e01890d752ecbdf5f3dd95d6efbec5ad4..6fdd60e8d8e4717b6d8ef3fec1ef30a17061bcad 100644
--- a/third_party/WebKit/Source/core/editing/commands/DeleteFromTextNodeCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/DeleteFromTextNodeCommand.cpp
@@ -46,7 +46,7 @@ void DeleteFromTextNodeCommand::doApply(EditingState*)
{
DCHECK(m_node);
- if (!m_node->isContentEditable(Node::UserSelectAllIsAlwaysNonEditable))
+ if (!m_node->isContentEditable())
return;
TrackExceptionState exceptionState;

Powered by Google App Engine
This is Rietveld 408576698