Index: third_party/WebKit/public/web/WebRange.h |
diff --git a/third_party/WebKit/public/web/WebRange.h b/third_party/WebKit/public/web/WebRange.h |
index d02cb32e93c584ffab9e60e0ff0341f48b4b968b..7323c1d0ff534fc950683a97d7396d5333143991 100644 |
--- a/third_party/WebKit/public/web/WebRange.h |
+++ b/third_party/WebKit/public/web/WebRange.h |
@@ -53,6 +53,7 @@ public: |
int length() const { return m_end - m_start; } |
bool isNull() const { return m_start == -1 && m_end == -1; } |
+ bool isEmpty() const { return m_start == m_end; } |
#if BLINK_IMPLEMENTATION |
WebRange(const EphemeralRange&); |