Index: third_party/WebKit/Source/core/editing/SelectionTemplate.h |
diff --git a/third_party/WebKit/Source/core/editing/SelectionTemplate.h b/third_party/WebKit/Source/core/editing/SelectionTemplate.h |
index 3fd2253b7fd89d4b3988ca80a44dc990d42babea..960748f12faa67b3a8605ffae0ba81c5316e3cb8 100644 |
--- a/third_party/WebKit/Source/core/editing/SelectionTemplate.h |
+++ b/third_party/WebKit/Source/core/editing/SelectionTemplate.h |
@@ -88,11 +88,11 @@ class CORE_EXPORT SelectionTemplate final { |
TextAffinity Affinity() const { return affinity_; } |
TextGranularity Granularity() const { return granularity_; } |
bool HasTrailingWhitespace() const { return has_trailing_whitespace_; } |
- bool IsCaret() const { return base_.IsNotNull() && base_ == extent_; } |
+ bool IsCaret() const; |
bool IsDirectional() const { return is_directional_; } |
bool IsHandleVisible() const { return is_handle_visible_; } |
bool IsNone() const { return base_.IsNull(); } |
- bool IsRange() const { return base_ != extent_; } |
+ bool IsRange() const; |
// Returns true if |this| selection holds valid values otherwise it causes |
// assertion failure. |