Unreviewed, fix build break on win debug build since r177737.

Partial revert some code in r177737 because it causes build error on win debug buildbot.

* dom/ElementIteratorAssertions.h:
(WebCore::ElementIteratorAssertions::ElementIteratorAssertions):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix build warning after r177700
https://bugs.webkit.org/show_bug.cgi?id=139948

Patch by Hunseop Jeong <hs85.jeong@samsung.com> on 2014-12-25
Reviewed by Alexey Proskuryakov.

* UIProcess/WebConnectionToWebProcess.cpp:
(WebKit::WebConnectionToWebProcess::transformHandlesToObjects):
(WebKit::WebConnectionToWebProcess::transformObjectsToHandles):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
DOM exception creator functions should return Ref.
<https://webkit.org/b/139947>

Reviewed by Chris Dumez.

Tweak all the FooException::create() to return Ref instead of
PassRefPtr since construction always succeeds.

Also add a toJS() overload for ImplType& to keep bindings building.

* Modules/indexeddb/IDBDatabaseException.h:
(WebCore::IDBDatabaseException::create):
* Modules/webdatabase/SQLException.h:
(WebCore::SQLException::create):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
* dom/DOMCoreException.h:
(WebCore::DOMCoreException::create):
* dom/EventException.h:
(WebCore::EventException::create):
* dom/RangeException.h:
(WebCore::RangeException::create):
* fileapi/FileException.h:
(WebCore::FileException::create):
* svg/SVGException.h:
(WebCore::SVGException::create):
* xml/XMLHttpRequestException.h:
(WebCore::XMLHttpRequestException::create):
* xml/XPathException.h:
(WebCore::XPathException::create):

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