Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
index d71a5142a60d78f03ea9400392f0953987b7f8a7..36c157898963ef7a9ab91a65703870c6e17a411b 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -1453,8 +1453,8 @@ Color LayoutObject::SelectionEmphasisMarkColor( |
return SelectionColor(CSSPropertyWebkitTextEmphasisColor, global_paint_flags); |
} |
-void LayoutObject::SelectionStartEnd(int& spos, int& epos) const { |
- View()->SelectionStartEnd(spos, epos); |
+void LayoutObject::SelectionStartEnd(int& start_pos, int& end_pos) const { |
+ GetFrame()->Selection().LayoutSelectionStartEnd(start_pos, end_pos); |
} |
// Called when an object that was floating or positioned becomes a normal flow |