2011-03-04 Steve Block <steveblock@google.com>
authorsteveblock@google.com <steveblock@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Mar 2011 19:17:28 +0000 (19:17 +0000)
committersteveblock@google.com <steveblock@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Mar 2011 19:17:28 +0000 (19:17 +0000)
commit195845c3e6f86921ed7f39951fddf85164966854
tree83fec24fcfd520c40f17b17456cc55477c277521
parent0ac806c91bc59cccec8058a76105df0480043977
2011-03-04  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        JSC and V8 versions of Java bridge should share JobjectWrapper
        https://bugs.webkit.org/show_bug.cgi?id=55763

        No new tests, refactoring only.

        * Android.jscbindings.mk:
        * Android.v8bindings.mk:
        * WebCore.gypi:
        * WebCore.order:
        * WebCore.xcodeproj/project.pbxproj:
        * bridge/jni/JobjectWrapper.cpp:
        (JobjectWrapper::JobjectWrapper):
        (JobjectWrapper::~JobjectWrapper):
        * bridge/jni/JobjectWrapper.h:
        (JSC::Bindings::JobjectWrapper::instance):
        (JSC::Bindings::JobjectWrapper::setInstance):
        (JSC::Bindings::JobjectWrapper::ref):
        (JSC::Bindings::JobjectWrapper::deref):
        * bridge/jni/jsc/JNIBridgeJSC.cpp:
        (JavaField::JavaField):
        (JavaArray::JavaArray):
        * bridge/jni/jsc/JNIBridgeJSC.h:
        * bridge/jni/jsc/JavaInstanceJSC.cpp:
        (JavaInstance::JavaInstance):
        * bridge/jni/jsc/JavaInstanceJSC.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
Source/WebCore/Android.jscbindings.mk
Source/WebCore/Android.v8bindings.mk
Source/WebCore/ChangeLog
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.order
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/bridge/jni/JobjectWrapper.cpp [moved from Source/WebCore/bridge/jni/v8/JobjectWrapper.cpp with 93% similarity]
Source/WebCore/bridge/jni/JobjectWrapper.h [moved from Source/WebCore/bridge/jni/v8/JobjectWrapper.h with 94% similarity]
Source/WebCore/bridge/jni/jsc/JNIBridgeJSC.cpp
Source/WebCore/bridge/jni/jsc/JNIBridgeJSC.h
Source/WebCore/bridge/jni/jsc/JavaInstanceJSC.cpp
Source/WebCore/bridge/jni/jsc/JavaInstanceJSC.h