| 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 61653f2e4bb10791e9c466b62f9ad4886b742cbb..6d2a177520ac7679c9a31378b64123caeaaf725b 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -786,6 +786,11 @@ void FrameSelection::selectFrameElementInParentIfFullySelected()
|
| // Check if the selection contains the entire frame contents; if not, then there is nothing to do.
|
| if (!isRange())
|
| return;
|
| +
|
| + // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| + // needs to be audited. See http://crbug.com/590369 for more details.
|
| + document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| if (!isStartOfDocument(selection().visibleStart()))
|
| return;
|
| if (!isEndOfDocument(selection().visibleEnd()))
|
|
|