Index: third_party/WebKit/Source/core/events/InputEvent.h |
diff --git a/third_party/WebKit/Source/core/events/InputEvent.h b/third_party/WebKit/Source/core/events/InputEvent.h |
index b16f476de889a3b9c5e99100004ff2ea44978437..35ee6dc19e47dbd96d4388160132d6b94ca42a45 100644 |
--- a/third_party/WebKit/Source/core/events/InputEvent.h |
+++ b/third_party/WebKit/Source/core/events/InputEvent.h |
@@ -5,13 +5,12 @@ |
#ifndef InputEvent_h |
#define InputEvent_h |
+#include "core/dom/StaticRange.h" |
#include "core/events/InputEventInit.h" |
#include "core/events/UIEvent.h" |
namespace blink { |
-class Range; |
- |
class InputEvent final : public UIEvent { |
DEFINE_WRAPPERTYPEINFO(); |
@@ -56,8 +55,7 @@ public: |
bool isComposing() const { return m_isComposing; } |
// Returns a copy of target ranges during event dispatch, and returns an empty |
// vector after dispatch. |
- // TODO(chongz): Return Vector<StaticRange>. |
- HeapVector<Member<Range>> getRanges() const { return m_ranges; }; |
+ StaticRangeVector getRanges() const; |
bool isInputEvent() const override; |