diff options
author | Steve Block <steveblock@google.com> | 2010-09-10 04:32:27 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-09-10 04:32:27 -0700 |
commit | a8a44d01c8c57974c92ba7d924cf600cde71ed27 (patch) | |
tree | 43871967b81e88862776c00bf2f9324bbd4e63c3 /WebCore | |
parent | 866b5c801e7591db2d365b09b35a90d337eb147c (diff) | |
parent | be2b5a3fe0063db46087ef38f78a1e2aa7b47631 (diff) | |
download | external_webkit-a8a44d01c8c57974c92ba7d924cf600cde71ed27.zip external_webkit-a8a44d01c8c57974c92ba7d924cf600cde71ed27.tar.gz external_webkit-a8a44d01c8c57974c92ba7d924cf600cde71ed27.tar.bz2 |
am be2b5a3f: Cherry-pick security fix in WebKit change 62873
Merge commit 'be2b5a3fe0063db46087ef38f78a1e2aa7b47631' into gingerbread-plus-aosp
* commit 'be2b5a3fe0063db46087ef38f78a1e2aa7b47631':
Cherry-pick security fix in WebKit change 62873
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; |