| Index: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| index 30d2a360795a7f5e2f02a65de66f975dd347e864..c4140a1f37c678c46acceb4a2967ed6da1954223 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| @@ -1973,7 +1973,7 @@ bool CompositeEditCommand::isNodeVisiblyContainedWithin(
|
| DocumentLifecycle::DisallowTransitionScope disallowTransition(
|
| node.document().lifecycle());
|
|
|
| - if (selectedRange.isNodeFullyContained(node))
|
| + if (isNodeFullyContained(EphemeralRange(&selectedRange), node))
|
| return true;
|
|
|
| bool startIsVisuallySame =
|
|
|