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

Unified Diff: third_party/WebKit/Source/core/editing/VisibleSelection.h

Issue 2966433002: Get rid of VisibleSelectionTemplate::has_trailing_whitespace_ (Closed)
Patch Set: 2017-07-04T18:31:35 Created 3 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
Index: third_party/WebKit/Source/core/editing/VisibleSelection.h
diff --git a/third_party/WebKit/Source/core/editing/VisibleSelection.h b/third_party/WebKit/Source/core/editing/VisibleSelection.h
index 4414b044a70336297402c15f9e3c097257a8a85b..a9ce8963fab63cbbc39eaf499a2293b4e0a6d168 100644
--- a/third_party/WebKit/Source/core/editing/VisibleSelection.h
+++ b/third_party/WebKit/Source/core/editing/VisibleSelection.h
@@ -178,11 +178,6 @@ class CORE_TEMPLATE_CLASS_EXPORT VisibleSelectionTemplate {
bool is_directional_ : 1;
TextGranularity granularity_;
- // |updateIfNeeded()| uses |m_hasTrailingWhitespace| for word granularity.
- // |m_hasTrailingWhitespace| is set by |appendTrailingWhitespace()|.
- // TODO(yosin): Once we unify start/end and base/extent, we should get rid
- // of |m_hasTrailingWhitespace|.
- bool has_trailing_whitespace_ : 1;
};
extern template class CORE_EXTERN_TEMPLATE_EXPORT

Powered by Google App Engine
This is Rietveld 408576698