Lots of crashes in WebKit1 after r172013.
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Aug 2014 01:39:24 +0000 (01:39 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Aug 2014 01:39:24 +0000 (01:39 +0000)
commitf18f168c125639755dded93772eda50743f4ea16
treef7415d28695e45d20133fd66e9ed2b9e6c6f7841
parenta5100e07fbc4b35c435d8834d9189ff115f831ab
Lots of crashes in WebKit1 after r172013.
https://bugs.webkit.org/show_bug.cgi?id=135582
<rdar://problem/17837636>

Reviewed by Enrica Casucci.

* editing/SelectionRectGatherer.cpp:
(WebCore::SelectionRectGatherer::addRect):
(WebCore::SelectionRectGatherer::addGapRects):
Don't try to do local-to-absolute coordinate conversion if we don't have
a repaint container, which happens a lot in WebKit1.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@172018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/editing/SelectionRectGatherer.cpp