Changeset 53193 in webkit
- Timestamp:
- Jan 13, 2010 10:30:04 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r53192 r53193 1 2010-01-13 Steve Block <steveblock@google.com> 2 3 Update appendClassName in jni_runtime.cpp to use WebCore::StringBuilder, rather than JSC::StringBuilder. 4 https://bugs.webkit.org/show_bug.cgi?id=33586 5 6 Avoiding the JSC version of StringBuilder allows this file to be used with both JSC and V8 on Android. 7 8 No new tests, refactoring only. 9 10 * bridge/jni/jni_runtime.cpp: Modified. 11 (JavaMethod::signature): Modified. Use WebCore::StringBuilder. 12 1 13 2010-01-13 Kent Hansen <kent.hansen@nokia.com> 2 14 -
trunk/WebCore/bridge/jni/jni_runtime.cpp
r52329 r53193 29 29 #if ENABLE(MAC_JAVA_BRIDGE) 30 30 31 #include "CString.h" 32 #include "StringBuilder.h" 31 33 #include "jni_utility.h" 32 34 #include "jni_utility_private.h" … … 36 38 #include <runtime/Error.h> 37 39 #include <runtime/JSLock.h> 38 #include <runtime/StringBuilder.h>39 40 40 41 #ifdef NDEBUG … … 49 50 using namespace JSC; 50 51 using namespace JSC::Bindings; 52 using namespace WebCore; 51 53 52 54 … … 349 351 } 350 352 351 UString signatureUString = signatureBuilder.release();352 _signature = strdup(signature UString.ascii());353 String signatureString = signatureBuilder.toString(); 354 _signature = strdup(signatureString.utf8().data()); 353 355 } 354 356
Note: See TracChangeset
for help on using the changeset viewer.