Add WebProcess::objectGraphByTransformingObjectsToHandles
https://bugs.webkit.org/show_bug.cgi?id=139912

Reviewed by Tim Horton.

This will be used to convert Objective-C object graphs containing bundle types to their handle counterparts.

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::transformHandlesToObjects):
(WebKit::WebProcess::apiObjectByConvertingFromHandles): Deleted.
Rename apiObjectByConvertingFromHandles to transformHandlesToObjects.

* WebProcess/WebProcess.h:
* WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::objectGraphByTransformingObjectsToHandles):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add WebProcess::transformHandlesToObjects
https://bugs.webkit.org/show_bug.cgi?id=139913

Reviewed by Tim Horton.

Rename objectGraphByTransformingObjectsToHandles to transformObjectsToHandles and add
transformHandlesToObjects that will try to convert handles to the actual bundle type objects.

* WebProcess/WebProcess.h:
* WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::transformHandlesToObjects):
(WebKit::WebProcess::transformObjectsToHandles):
(WebKit::WebProcess::objectGraphByTransformingObjectsToHandles): Deleted.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Re-indent RefPtr.h and RetainPtr.h.

Rubber-stamped by Sam Weinig.

* wtf/RefPtr.h:
* wtf/RetainPtr.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Move dynamic_objc_cast to RetainPtr.h
https://bugs.webkit.org/show_bug.cgi?id=139915

Reviewed by Sam Weinig.

Source/WebKit2:

* Shared/mac/ObjCObjectGraph.mm:
(WebKit::dynamic_objc_cast): Deleted.

Source/WTF:

* wtf/RetainPtr.h:
(WTF::dynamic_objc_cast):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177697 268f45cc-cd09-0410-ab3c-d52691b4dbfc