Changeset 86311 in webkit
- Timestamp:
- May 11, 2011 10:40:20 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r86307 r86311 1 2011-05-10 MORITA Hajime <morrita@google.com> 2 3 Reviewed by Kent Tamura. 4 5 Crashes if the document inside iframe is removed during pasting some text into it. 6 https://bugs.webkit.org/show_bug.cgi?id=60534 7 8 * editing/pasteboard/paste-removing-iframe-expected.txt: Added. 9 * editing/pasteboard/paste-removing-iframe.html: Added. 10 * editing/pasteboard/resources/paste-removing-iframe-child.html: Added. 11 1 12 2011-05-11 MORITA Hajime <morrita@google.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r86310 r86311 1 2011-05-10 MORITA Hajime <morrita@google.com> 2 3 Reviewed by Kent Tamura. 4 5 Crashes if the document inside iframe is removed during pasting some text into it. 6 https://bugs.webkit.org/show_bug.cgi?id=60534 7 8 Added missing null check. 9 10 Test: editing/pasteboard/paste-removing-iframe.html 11 12 * editing/Editor.cpp: 13 (WebCore::Editor::shouldChangeSelection): 14 1 15 2011-05-11 Brian Salomon <bsalomon@google.com> 2 16 -
trunk/Source/WebCore/editing/Editor.cpp
r86295 r86311 2788 2788 bool Editor::shouldChangeSelection(const VisibleSelection& oldSelection, const VisibleSelection& newSelection, EAffinity affinity, bool stillSelecting) const 2789 2789 { 2790 return client() ->shouldChangeSelectedRange(oldSelection.toNormalizedRange().get(), newSelection.toNormalizedRange().get(), affinity, stillSelecting);2790 return client() && client()->shouldChangeSelectedRange(oldSelection.toNormalizedRange().get(), newSelection.toNormalizedRange().get(), affinity, stillSelecting); 2791 2791 } 2792 2792
Note: See TracChangeset
for help on using the changeset viewer.