Start passing RenderStyle around with PassRef.
<https://webkit.org/b/123051>

Source/WebCore:

Made the RenderStyle::create methods return PassRef<RenderStyle>
and RenderElement::setStyle take a PassRef<RenderStyle>.

Reviewed by Darin Adler.

Source/WTF:

Added some new PassRef tricks to make this patch possible.

Reviewed by Darin Adler.

* wtf/PassRef.h:
(WTF::PassRef::get):

    Added a get() helper to facilitate writing functions that
    construct a new object and call some functions on it before
    returning it.

(WTF::PassRef::dropRef):

    This will deref() the referenced object and mark the PassRef
    as "passed." This is used in code paths where the PassRef is
    going to go out of scope with nobody to take it over.

(WTF::PassRef::leakRef):

    Renamed takeReference() to leakRef() and made it public so
    we don't have to awkwardly sink the PassRef into a Ref for
    e.g static locals.

* wtf/RefPtr.h:
(WTF::RefPtr::releaseNonNull):

    Added RefPtr::releaseNonNull() for a convenient way of creating
    a PassRef<T> from a RefPtr<T>. This function may only be called
    if the RefPtr is known to be non-null.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Attempt to get Lion building.

Source/WebKit/mac:

* WebView/WebDataSource.mm:

Source/WebKit2:

* UIProcess/mac/WebColorPickerMac.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
libWebCoreTestSupport should have explicit exports
https://bugs.webkit.org/show_bug.cgi?id=123053

Reviewed by Oliver Hunt.

No new tests because there is no change in behavior.

* Configurations/WebCoreTestSupport.xcconfig:
* testing/js/WebCoreTestSupport.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix build failure for architectures with 4 argument registers.
https://bugs.webkit.org/show_bug.cgi?id=123060

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-10-19
Reviewed by Michael Saboff.

Add missing setupArgumentsWithExecState() prototypes for architecture with 4 argument registers.
Remove SH4 specific code no longer needed since callOperation prototype change in r157660.

* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation):
* jit/CCallHelpers.h:
(JSC::CCallHelpers::setupArgumentsWithExecState):
* jit/JITInlines.h:
(JSC::JIT::callOperation):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WinCairo] Link fails.
https://bugs.webkit.org/show_bug.cgi?id=123019

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-10-19
Reviewed by Darin Adler.

Added empty CertificateInfo implementation for Curl.

* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* platform/network/curl/CertificateInfoCurl.cpp: Added.
(WebCore::CertificateInfo::CertificateInfo):
(WebCore::CertificateInfo::~CertificateInfo):

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