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

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

Issue 2736613003: Get rid of FrameSelection::setSelection() taking VisibleSelection (Closed)
Patch Set: 2017-03-07T13:53:20 rebase Created 3 years, 9 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/GranularityStrategyTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp b/third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp
index 394ed085197e5572b8cc71f7ae10aa3e00904f4d..3291f0c34f2335adb945949d305e4399925fa632 100644
--- a/third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp
+++ b/third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp
@@ -101,7 +101,8 @@ Document& GranularityStrategyTest::document() const {
void GranularityStrategyTest::setSelection(
const VisibleSelection& newSelection) {
- m_dummyPageHolder->frame().selection().setSelection(newSelection);
+ m_dummyPageHolder->frame().selection().setSelection(
+ newSelection.asSelection());
}
FrameSelection& GranularityStrategyTest::selection() const {

Powered by Google App Engine
This is Rietveld 408576698