Commit 4b844c79 authored by yoichio's avatar yoichio Committed by Commit bot

Remove unused function of LayoutSelection::GetVisibleSelection()

Review-Url: https://codereview.chromium.org/2837423003
Cr-Commit-Position: refs/heads/master@{#467266}
parent d5514f4c
...@@ -41,10 +41,6 @@ LayoutSelection::LayoutSelection(FrameSelection& frame_selection) ...@@ -41,10 +41,6 @@ LayoutSelection::LayoutSelection(FrameSelection& frame_selection)
selection_start_pos_(-1), selection_start_pos_(-1),
selection_end_pos_(-1) {} selection_end_pos_(-1) {}
const VisibleSelection& LayoutSelection::GetVisibleSelection() const {
return frame_selection_->ComputeVisibleSelectionInDOMTree();
}
SelectionInFlatTree LayoutSelection::CalcVisibleSelection( SelectionInFlatTree LayoutSelection::CalcVisibleSelection(
const VisibleSelectionInFlatTree& original_selection) const { const VisibleSelectionInFlatTree& original_selection) const {
const PositionInFlatTree& start = original_selection.Start(); const PositionInFlatTree& start = original_selection.Start();
......
...@@ -63,8 +63,6 @@ class LayoutSelection final : public GarbageCollected<LayoutSelection> { ...@@ -63,8 +63,6 @@ class LayoutSelection final : public GarbageCollected<LayoutSelection> {
private: private:
LayoutSelection(FrameSelection&); LayoutSelection(FrameSelection&);
const VisibleSelection& GetVisibleSelection() const;
SelectionInFlatTree CalcVisibleSelection( SelectionInFlatTree CalcVisibleSelection(
const VisibleSelectionInFlatTree&) const; const VisibleSelectionInFlatTree&) const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment