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

Unified Diff: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h

Issue 2788473003: Use EphmeralRange insteadof Range in CompositeEditCommands::isNodeVisiblyContainedWithin()
Patch Set: update Created 3 years, 9 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/CompositeEditCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
index d4d1f9b32f00e9fa744e3127bc251ca94a08c672..ce07146690c2297ae7f244c1b7359f61873818b3 100644
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
@@ -221,7 +221,7 @@ class CORE_EXPORT CompositeEditCommand : public EditCommand {
Node* splitTreeToNode(Node*, Node*, bool splitAncestor = false);
- static bool isNodeVisiblyContainedWithin(Node&, const Range&);
+ static bool isNodeVisiblyContainedWithin(Node&, const EphemeralRange&);
HeapVector<Member<EditCommand>> m_commands;

Powered by Google App Engine
This is Rietveld 408576698