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

Unified Diff: third_party/WebKit/Source/web/WebSelection.cpp

Issue 2691583003: Removed fields from Selection classes (Closed)
Patch Set: Forgot to remove fields from test Created 3 years, 10 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/web/WebSelection.cpp
diff --git a/third_party/WebKit/Source/web/WebSelection.cpp b/third_party/WebKit/Source/web/WebSelection.cpp
index cf3a3b2c3368ab4a57412ad2b1bb44b1e99ec3cc..230f17fa263f5041eb1019f1d16d4037ad432e4e 100644
--- a/third_party/WebKit/Source/web/WebSelection.cpp
+++ b/third_party/WebKit/Source/web/WebSelection.cpp
@@ -40,15 +40,11 @@ static WebSelectionBound getWebSelectionBound(
WebSelection::WebSelection(const CompositedSelection& selection)
: m_selectionType(static_cast<WebSelection::SelectionType>(selection.type)),
m_start(getWebSelectionBound(selection, true)),
- m_end(getWebSelectionBound(selection, false)),
- m_isEditable(selection.isEditable),
- m_isEmptyTextControl(selection.isEmptyTextControl) {}
+ m_end(getWebSelectionBound(selection, false)) {}
WebSelection::WebSelection(const WebSelection& other)
: m_selectionType(other.m_selectionType),
m_start(other.m_start),
- m_end(other.m_end),
- m_isEditable(other.m_isEditable),
- m_isEmptyTextControl(other.m_isEmptyTextControl) {}
+ m_end(other.m_end) {}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698