Changeset 79998 in webkit
- Timestamp:
- Mar 1, 2011 6:31:22 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r79988 r79998 1 2011-03-01 Steve Block <steveblock@google.com> 2 3 Reviewed by Pavel Feldman. 4 5 JNI code in Java bridge is not correctly guarded 6 https://bugs.webkit.org/show_bug.cgi?id=55459 7 8 No new tests, build fix only. 9 10 * bridge/jni/v8/JNIBridgeV8.cpp: 11 * bridge/jni/v8/JNIBridgeV8.h: 12 * bridge/jni/v8/JNIUtilityPrivate.cpp: 13 * bridge/jni/v8/JNIUtilityPrivate.h: 14 * bridge/jni/v8/JavaClassV8.cpp: 15 * bridge/jni/v8/JavaClassV8.h: 16 * bridge/jni/v8/JavaInstanceV8.cpp: 17 * bridge/jni/v8/JavaInstanceV8.h: 18 * bridge/jni/v8/JavaNPObjectV8.cpp: 19 * bridge/jni/v8/JavaNPObjectV8.h: 20 1 21 2011-03-01 Steve Block <steveblock@google.com> 2 22 -
trunk/Source/WebCore/bridge/jni/v8/JNIBridgeV8.cpp
r65833 r79998 27 27 #include "JNIBridgeV8.h" 28 28 29 #if ENABLE(JAVA_BRIDGE) 30 29 31 using namespace JSC::Bindings; 30 32 … … 43 45 m_field = new JObjectWrapper(aField); 44 46 } 47 48 #endif // ENABLE(JAVA_BRIDGE) -
trunk/Source/WebCore/bridge/jni/v8/JNIBridgeV8.h
r65833 r79998 27 27 #define JNIBridgeV8_h 28 28 29 #if ENABLE(JAVA_BRIDGE) 30 29 31 #include "JNIBridge.h" // For JavaString 30 32 #include "JavaInstanceV8.h" // For JObjectWrapper … … 54 56 } // namespace JSC 55 57 58 #endif // ENABLE(JAVA_BRIDGE) 59 56 60 #endif // JNIBridgeV8_h -
trunk/Source/WebCore/bridge/jni/v8/JNIUtilityPrivate.cpp
r74288 r79998 27 27 #include "JNIUtilityPrivate.h" 28 28 29 #if ENABLE(JAVA_BRIDGE) 30 29 31 #include "JavaInstanceV8.h" 30 32 #include "JavaNPObjectV8.h" … … 257 259 } 258 260 259 } // end of namespace Bindings 260 261 } // end of namespace JSC 261 } // namespace Bindings 262 263 } // namespace JSC 264 265 #endif // ENABLE(JAVA_BRIDGE) -
trunk/Source/WebCore/bridge/jni/v8/JNIUtilityPrivate.h
r54171 r79998 27 27 #define JNIUtilityPrivate_h 28 28 29 #if ENABLE(JAVA_BRIDGE) 30 29 31 #include "JNIUtility.h" 30 32 #include "npruntime.h" … … 41 43 } // namespace JSC 42 44 45 #endif // ENABLE(JAVA_BRIDGE) 46 43 47 #endif // JNIUtilityPrivate_h -
trunk/Source/WebCore/bridge/jni/v8/JavaClassV8.cpp
r72740 r79998 26 26 #include "config.h" 27 27 #include "JavaClassV8.h" 28 29 #if ENABLE(JAVA_BRIDGE) 28 30 29 31 using namespace JSC::Bindings; … … 102 104 return m_fields.get(name); 103 105 } 106 107 #endif // ENABLE(JAVA_BRIDGE) -
trunk/Source/WebCore/bridge/jni/v8/JavaClassV8.h
r72740 r79998 26 26 #ifndef JavaClassV8_h 27 27 #define JavaClassV8_h 28 29 #if ENABLE(JAVA_BRIDGE) 28 30 29 31 #include "JNIBridgeV8.h" … … 58 60 } // namespace JSC 59 61 62 #endif // ENABLE(JAVA_BRIDGE) 63 60 64 #endif // JavaClassV8_h -
trunk/Source/WebCore/bridge/jni/v8/JavaInstanceV8.cpp
r62650 r79998 27 27 #include "config.h" 28 28 #include "JavaInstanceV8.h" 29 30 #if ENABLE(JAVA_BRIDGE) 29 31 30 32 #include "JNIBridge.h" … … 172 174 m_env->DeleteGlobalRef(m_instance); 173 175 } 176 177 #endif // ENABLE(JAVA_BRIDGE) -
trunk/Source/WebCore/bridge/jni/v8/JavaInstanceV8.h
r79947 r79998 27 27 #ifndef JavaInstanceV8_h 28 28 #define JavaInstanceV8_h 29 30 #if ENABLE(JAVA_BRIDGE) 29 31 30 32 #include "JNIUtility.h" … … 98 100 } // namespace JSC 99 101 102 #endif // ENABLE(JAVA_BRIDGE) 103 100 104 #endif // JavaInstanceV8_h -
trunk/Source/WebCore/bridge/jni/v8/JavaNPObjectV8.cpp
r65833 r79998 27 27 #include "config.h" 28 28 #include "JavaNPObjectV8.h" 29 30 #if ENABLE(JAVA_BRIDGE) 29 31 30 32 #include "JNIUtilityPrivate.h" … … 167 169 168 170 } // namespace JSC 171 172 #endif // ENABLE(JAVA_BRIDGE) -
trunk/Source/WebCore/bridge/jni/v8/JavaNPObjectV8.h
r54237 r79998 27 27 #define JavaNPObjectV8_h 28 28 29 #if ENABLE(JAVA_BRIDGE) 30 29 31 #include "npruntime.h" 30 32 #include <wtf/RefPtr.h> … … 54 56 } // namespace JSC 55 57 58 #endif // ENABLE(JAVA_BRIDGE) 59 56 60 #endif // JavaNPObjectV8_h
Note: See TracChangeset
for help on using the changeset viewer.