| 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 e8cc4e3e39f63adcbc3f843aeea08fd0efd06f88..e252dec496f99936a90b3b652372e41c3d04998d 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
| @@ -1970,12 +1970,12 @@ void CompositeEditCommand::setParent(CompositeEditCommand* parent) {
|
| // visibly fit inside selectedRange
|
| bool CompositeEditCommand::isNodeVisiblyContainedWithin(
|
| Node& node,
|
| - const Range& selectedRange) {
|
| + const EphemeralRange& selectedRange) {
|
| DCHECK(!needsLayoutTreeUpdate(node));
|
| DocumentLifecycle::DisallowTransitionScope disallowTransition(
|
| node.document().lifecycle());
|
|
|
| - if (isNodeFullyContained(EphemeralRange(&selectedRange), node))
|
| + if (isNodeFullyContained(selectedRange, node))
|
| return true;
|
|
|
| bool startIsVisuallySame =
|
|
|