Index: third_party/WebKit/Source/core/editing/EditingUtilities.cpp |
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp |
index 3ca0cfd355c6d80e77759bba54e4ae7b9ded7049..73f1e72302a9aff5c715f94c7e0fe592d361548d 100644 |
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp |
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp |
@@ -379,9 +379,9 @@ bool isEditablePosition(const Position& position) { |
DCHECK(node->document().isActive()); |
if (node->document().lifecycle().state() >= |
DocumentLifecycle::InStyleRecalc) { |
- // TODO(yosin): Once we change |LayoutObject::adjustStyleDifference()| |
- // not to call |FrameSelection::hasCaret()|, we should not assume |
- // calling |isEditablePosition()| in |InStyleRecalc| is safe. |
+ // TODO(yosin): Update the condition and DCHECK here given that |
+ // https://codereview.chromium.org/2665823002/ avoided this function from |
+ // being called during InStyleRecalc. |
} else { |
DCHECK(!needsLayoutTreeUpdate(position)) << position; |
} |