[WK2] API::Point, API::Size, API::Rect creation functions should return Ref<>
authorzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Apr 2015 06:35:38 +0000 (06:35 +0000)
committerzandobersek@gmail.com <zandobersek@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Apr 2015 06:35:38 +0000 (06:35 +0000)
commit725b3c8fb2dfaabc4c2114a09a8ac2dc30c7b3ab
treef666f61ba2b99abc1d88be44008c1ff8e8297546
parent77dcbc3aeffd971a253366624d464e9d79fe5553
[WK2] API::Point, API::Size, API::Rect creation functions should return Ref<>
https://bugs.webkit.org/show_bug.cgi?id=144223

Reviewed by Darin Adler.

Have API::Point, API::Size and API::Rect creation functions return Ref<>.
Call-sites are also updated, using and operating on the returned Ref<> object
where possible.

* Shared/API/APIGeometry.h:
(API::Size::create):
(API::Point::create):
(API::Rect::create):
* Shared/API/c/WKGeometry.cpp:
(WKPointCreate):
(WKSizeCreate):
(WKRectCreate):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@183460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/API/APIGeometry.h
Source/WebKit2/Shared/API/c/WKGeometry.cpp