Deprecate AdoptCF and AdoptNS (on all platforms except iOS for now)
https://bugs.webkit.org/show_bug.cgi?id=121017

Reviewed by Andreas Kling.

* wtf/RetainPtr.h: Use the preprocessor to rename AdoptCF and AdoptNS
to DeprecatedAdoptCF and DeprecatedAdoptNS on all platforms except
for iOS. Also removed an unneeded explicit conversion in the retainPtr
function. Also re-sorted the using lines at the end of the file.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make Editor::deleteButtonController a reference
https://bugs.webkit.org/show_bug.cgi?id=121019

Reviewed by Andreas Kling.

* dom/ContainerNode.cpp:
(WebCore::ContainerNode::cloneChildNodes): Updated to use . instead of ->.
* editing/DeleteButton.cpp:
(WebCore::DeleteButton::defaultEventHandler): Ditto.

* editing/DeleteButtonController.cpp:
(WebCore::DeleteButtonController::DeleteButtonController): Updated to take a Frame&
instead of a Frame*.
(WebCore::DeleteButtonController::respondToChangedSelection): Ditto.
(WebCore::DeleteButtonController::createDeletionUI): Ditto.
(WebCore::DeleteButtonController::show): Ditto.
(WebCore::DeleteButtonController::enable): Ditto.
(WebCore::DeleteButtonController::deleteTarget): Ditto.
* editing/DeleteButtonController.h: Ditto.

* editing/Editor.cpp:
(WebCore::Editor::avoidIntersectionWithDeleteButtonController): Removed bogus
null check from both versions of this function.
(WebCore::Editor::Editor): Use construction rather than assignment and pass
a reference instead of a pointer to make m_deleteButtonController.
(WebCore::Editor::clear): Ditto.

* editing/Editor.h: Made deleteButtonController return a reference.
Also reorganized the header to put all the conditional functions together,
and not mixed in with non-conditional ones.

* editing/markup.cpp:
(WebCore::createMarkup): Updated to use . instead of -> and also to use
emptyString() instead of constructing a new empty string.

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