Index: sky/engine/core/editing/Editor.h |
diff --git a/sky/engine/core/editing/Editor.h b/sky/engine/core/editing/Editor.h |
index cd7dc03e90f7ef6189cc8229b6685ef16ef1fad4..d9e0cef70e232bccac0e7aa7cab39bb5e5347305 100644 |
--- a/sky/engine/core/editing/Editor.h |
+++ b/sky/engine/core/editing/Editor.h |
@@ -176,7 +176,7 @@ public: |
void pasteAsFragment(PassRefPtr<DocumentFragment>, bool smartReplace, bool matchStyle); |
void pasteAsPlainText(const String&, bool smartReplace); |
- Element* findEventTargetFrom(const VisibleSelection&) const; |
+ ContainerNode* findEventTargetFrom(const VisibleSelection&) const; |
bool findString(const String&, FindOptions); |
// FIXME: Switch callers over to the FindOptions version and retire this one. |
@@ -235,7 +235,7 @@ private: |
void changeSelectionAfterCommand(const VisibleSelection& newSelection, FrameSelection::SetSelectionOptions); |
void notifyComponentsOnChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetSelectionOptions); |
- Element* findEventTargetFromSelection() const; |
+ ContainerNode* findEventTargetFromSelection() const; |
PassRefPtr<Range> rangeOfString(const String&, Range*, FindOptions); |