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

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

Issue 2973583002: Get rid of SelectionTemplate::has_trailing_whitespace_ (Closed)
Patch Set: 2017-07-05T15:40:09 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/SelectionEditor.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/FrameSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
index 0c0c97180de781399fa076ce5f323a3945d93950..a804533df7f045ee9484d7e8b8246c2ba8df02d4 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
@@ -305,8 +305,7 @@ void FrameSelection::SetSelection(const SelectionInFlatTree& new_selection,
ToPositionInDOMTree(new_selection.Extent()))
.SetGranularity(new_selection.Granularity())
.SetIsDirectional(new_selection.IsDirectional())
- .SetIsHandleVisible(new_selection.IsHandleVisible())
- .SetHasTrailingWhitespace(new_selection.HasTrailingWhitespace());
+ .SetIsHandleVisible(new_selection.IsHandleVisible());
return SetSelection(builder.Build(), options, align, granularity);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/SelectionEditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698