Ref-ify ClientRect.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Dec 2014 19:31:43 +0000 (19:31 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Dec 2014 19:31:43 +0000 (19:31 +0000)
commit13ee0b754a0d3d02f45f939cf88e3e92c0602d6d
tree7f26ebf5a68febf00034021c5d11a2acc3fd253e
parent7ef972a0b2d6293c72d3dfd20d8a6991b1bec76f
Ref-ify ClientRect.
<https://webkit.org/b/139777>

Reviewed by Anders Carlsson.

Make the ClientRect::create() helpers return Ref, along with a bunch
of other functions that always return non-null ClientRects.

* dom/ClientRect.h:
(WebCore::ClientRect::create):
* dom/Element.cpp:
(WebCore::Element::getBoundingClientRect):
* dom/Element.h:
* dom/Range.cpp:
(WebCore::Range::getBoundingClientRect):
* dom/Range.h:
* html/track/VTTRegion.cpp:
(WebCore::VTTRegion::displayLastTextTrackCueBox):
* testing/Internals.cpp:
(WebCore::Internals::absoluteCaretBounds):
(WebCore::Internals::boundingBox):
(WebCore::Internals::selectionBounds):
* testing/Internals.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/ClientRect.h
Source/WebCore/dom/Element.cpp
Source/WebCore/dom/Element.h
Source/WebCore/dom/Range.cpp
Source/WebCore/dom/Range.h
Source/WebCore/html/track/VTTRegion.cpp
Source/WebCore/testing/Internals.cpp
Source/WebCore/testing/Internals.h