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

Unified Diff: third_party/WebKit/Source/core/editing/SelectionTemplate.cpp

Issue 2664443002: Fixing adding isHandleVisible to |SelectionTemplate| (Closed)
Patch Set: fixing selection test Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/SelectionTemplate.cpp
diff --git a/third_party/WebKit/Source/core/editing/SelectionTemplate.cpp b/third_party/WebKit/Source/core/editing/SelectionTemplate.cpp
index 0b9056a272805b0650f15fbd1fa299e20658f00b..853adf7b996dbab62cc426ed2eff2345e8f0bff4 100644
--- a/third_party/WebKit/Source/core/editing/SelectionTemplate.cpp
+++ b/third_party/WebKit/Source/core/editing/SelectionTemplate.cpp
@@ -16,7 +16,8 @@ SelectionTemplate<Strategy>::SelectionTemplate(const SelectionTemplate& other)
m_affinity(other.m_affinity),
m_granularity(other.m_granularity),
m_hasTrailingWhitespace(other.m_hasTrailingWhitespace),
- m_isDirectional(other.m_isDirectional)
+ m_isDirectional(other.m_isDirectional),
+ m_isHandleVisible(other.m_isHandleVisible)
#if DCHECK_IS_ON()
,
m_domTreeVersion(other.m_domTreeVersion)
@@ -45,7 +46,8 @@ bool SelectionTemplate<Strategy>::operator==(
m_affinity == other.m_affinity &&
m_granularity == other.m_granularity &&
m_hasTrailingWhitespace == other.m_hasTrailingWhitespace &&
- m_isDirectional == other.m_isDirectional;
+ m_isDirectional == other.m_isDirectional &&
+ m_isHandleVisible == other.m_isHandleVisible;
}
template <typename Strategy>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/SelectionTemplateTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698