Unreviewed, attempt to fix Windows build after r207787
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Oct 2016 00:31:05 +0000 (00:31 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Oct 2016 00:31:05 +0000 (00:31 +0000)
commitb9b99b2891b2ca807f8c84be2f95b080cb6a92f9
tree8849e89d1f9e13acc06dd068b4e5530c73c6dce3
parentfc5f9acdf5afe6d8f57904c708ea4d7d8debb5c9
Unreviewed, attempt to fix Windows build after r207787
https://bugs.webkit.org/show_bug.cgi?id=163657

According to the similar code in WebKit, I guess that
Visual C++ requires friend class declaration is done
in the private section to access private members.

And I also changed ::instance to ::shared to align to
the existing WebCore code.

* domjit/DOMJITAbstractHeapRepository.cpp:
(WebCore::DOMJIT::AbstractHeapRepository::shared):
(WebCore::DOMJIT::AbstractHeapRepository::instance): Deleted.
* domjit/DOMJITAbstractHeapRepository.h:
* domjit/JSNodeDOMJIT.cpp:
(WebCore::NodeFirstChildDOMJIT::callDOM):
(WebCore::NodeLastChildDOMJIT::callDOM):
(WebCore::NodeNextSiblingDOMJIT::callDOM):
(WebCore::NodePreviousSiblingDOMJIT::callDOM):
(WebCore::NodeParentNodeDOMJIT::callDOM):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@207793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/domjit/DOMJITAbstractHeapRepository.cpp
Source/WebCore/domjit/DOMJITAbstractHeapRepository.h
Source/WebCore/domjit/JSNodeDOMJIT.cpp