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

Unified Diff: Source/core/editing/PlainTextRange.h

Issue 430843002: Use tighter typing in editing: PlainTextRange / ReplaceNodeWithSpanCommand (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 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
« no previous file with comments | « Source/core/editing/CompositeEditCommand.cpp ('k') | Source/core/editing/PlainTextRange.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/PlainTextRange.h
diff --git a/Source/core/editing/PlainTextRange.h b/Source/core/editing/PlainTextRange.h
index e2379622df6add088eae4d7af66518f6e0828729..e9ad645c769da6f4d2e2037c20cd828148225fcc 100644
--- a/Source/core/editing/PlainTextRange.h
+++ b/Source/core/editing/PlainTextRange.h
@@ -33,7 +33,6 @@
namespace blink {
class ContainerNode;
-class Node;
class Range;
class PlainTextRange {
@@ -52,7 +51,7 @@ public:
PassRefPtrWillBeRawPtr<Range> createRange(const ContainerNode& scope) const;
PassRefPtrWillBeRawPtr<Range> createRangeForSelection(const ContainerNode& scope) const;
- static PlainTextRange create(const Node& scope, const Range&);
+ static PlainTextRange create(const ContainerNode& scope, const Range&);
private:
PlainTextRange& operator=(const PlainTextRange&) WTF_DELETED_FUNCTION;
« no previous file with comments | « Source/core/editing/CompositeEditCommand.cpp ('k') | Source/core/editing/PlainTextRange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698