diff options
author | Steve Block <steveblock@google.com> | 2010-09-09 12:00:30 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-09-09 12:03:51 +0100 |
commit | be2b5a3fe0063db46087ef38f78a1e2aa7b47631 (patch) | |
tree | 2f57576fcfed4254143647e41780e9809610c08a /WebCore | |
parent | d8dd893d690e9d208fe4a71b7d62374687d279f4 (diff) | |
download | external_webkit-be2b5a3fe0063db46087ef38f78a1e2aa7b47631.zip external_webkit-be2b5a3fe0063db46087ef38f78a1e2aa7b47631.tar.gz external_webkit-be2b5a3fe0063db46087ef38f78a1e2aa7b47631.tar.bz2 |
Cherry-pick security fix in WebKit change 62873
See http://trac.webkit.org/changeset/62873
Bug: 2986936
Change-Id: I8353bade3fb14aedeaa517e6bc8331cd05ee3fd8
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/editing/SelectionController.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/editing/SelectionController.cpp b/WebCore/editing/SelectionController.cpp index 5b2d0d0..f78c219 100644 --- a/WebCore/editing/SelectionController.cpp +++ b/WebCore/editing/SelectionController.cpp @@ -1339,6 +1339,9 @@ void SelectionController::updateAppearance() } #endif + // We need to update style in case the node containing the selection is made display:none. + m_frame->document()->updateStyleIfNeeded(); + RenderView* view = m_frame->contentRenderer(); if (!view) return; |