| Index: third_party/WebKit/Source/core/editing/VisiblePosition.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/VisiblePosition.cpp b/third_party/WebKit/Source/core/editing/VisiblePosition.cpp
|
| index 63009d224b9879577fb06bc768731efef2134444..70f54413cf818e9f4ed4e1065f3651cbe03b734c 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisiblePosition.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisiblePosition.cpp
|
| @@ -136,52 +136,6 @@ VisiblePositionTemplate<Strategy>::lastPositionInNode(Node* node) {
|
| PositionTemplate<Strategy>::lastPositionInNode(node)));
|
| }
|
|
|
| -VisiblePosition createVisiblePositionDeprecated(const Position& position,
|
| - TextAffinity affinity) {
|
| - // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| - // needs to be audited. See http://crbug.com/590369 for more details.
|
| - if (position.isNotNull())
|
| - position.document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| -
|
| - return VisiblePosition::create(PositionWithAffinity(position, affinity));
|
| -}
|
| -
|
| -VisiblePosition createVisiblePositionDeprecated(
|
| - const PositionWithAffinity& positionWithAffinity) {
|
| - // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| - // needs to be audited. See http://crbug.com/590369 for more details.
|
| - if (positionWithAffinity.isNotNull())
|
| - positionWithAffinity.position()
|
| - .document()
|
| - ->updateStyleAndLayoutIgnorePendingStylesheets();
|
| -
|
| - return VisiblePosition::create(positionWithAffinity);
|
| -}
|
| -
|
| -VisiblePositionInFlatTree createVisiblePositionDeprecated(
|
| - const PositionInFlatTree& position,
|
| - TextAffinity affinity) {
|
| - // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| - // needs to be audited. See http://crbug.com/590369 for more details.
|
| - if (position.isNotNull())
|
| - position.document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| -
|
| - return VisiblePositionInFlatTree::create(
|
| - PositionInFlatTreeWithAffinity(position, affinity));
|
| -}
|
| -
|
| -VisiblePositionInFlatTree createVisiblePositionDeprecated(
|
| - const PositionInFlatTreeWithAffinity& positionWithAffinity) {
|
| - // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| - // needs to be audited. See http://crbug.com/590369 for more details.
|
| - if (positionWithAffinity.isNotNull())
|
| - positionWithAffinity.position()
|
| - .document()
|
| - ->updateStyleAndLayoutIgnorePendingStylesheets();
|
| -
|
| - return VisiblePositionInFlatTree::create(positionWithAffinity);
|
| -}
|
| -
|
| VisiblePosition createVisiblePosition(const Position& position,
|
| TextAffinity affinity) {
|
| return VisiblePosition::create(PositionWithAffinity(position, affinity));
|
|
|