| 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 d8d8d6ccf1d3feb8f72f37ad727916e8bf51fe80..78531bc8f80f3948c0b7bd0d6986fe61fb913ea2 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -1112,7 +1112,7 @@ String FrameSelection::selectedText(TextIteratorBehavior behavior) const {
|
|
|
| String FrameSelection::selectedTextForClipboard() const {
|
| if (m_frame->settings() &&
|
| - m_frame->settings()->selectionIncludesAltImageText())
|
| + m_frame->settings()->getSelectionIncludesAltImageText())
|
| return extractSelectedText(*this, TextIteratorEmitsImageAltText);
|
| return extractSelectedText(*this, TextIteratorDefaultBehavior);
|
| }
|
| @@ -1315,7 +1315,8 @@ GranularityStrategy* FrameSelection::granularityStrategy() {
|
| // set yet.
|
| SelectionStrategy strategyType = SelectionStrategy::Character;
|
| Settings* settings = m_frame ? m_frame->settings() : 0;
|
| - if (settings && settings->selectionStrategy() == SelectionStrategy::Direction)
|
| + if (settings &&
|
| + settings->getSelectionStrategy() == SelectionStrategy::Direction)
|
| strategyType = SelectionStrategy::Direction;
|
|
|
| if (m_granularityStrategy && m_granularityStrategy->GetType() == strategyType)
|
|
|