summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/rendering/RenderLineBoxList.h
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-10-12 10:07:57 +0100
committerSteve Block <steveblock@google.com>2011-10-12 10:13:39 +0100
commit5c6c1b6e29c1ab3922e1ff7ac1949bc7d1334a57 (patch)
treef04da7c9bfbe9a52a672ba4922e7bc399c037223 /Source/WebCore/rendering/RenderLineBoxList.h
parent6cf7e07ab895af6265850c3df2da05a09977e9a0 (diff)
downloadexternal_webkit-5c6c1b6e29c1ab3922e1ff7ac1949bc7d1334a57.zip
external_webkit-5c6c1b6e29c1ab3922e1ff7ac1949bc7d1334a57.tar.gz
external_webkit-5c6c1b6e29c1ab3922e1ff7ac1949bc7d1334a57.tar.bz2
Fix uses of GetByteArrayElements() in WebCoreFrameBridge
Currently, we call GetByteArrayElements() to get a pointer to the data, then modify it, then fail to call ReleaseByteArrayElements. This means that if GetByteArrayElements() happens to take a copy of the data, we'll never sync the modified data back to the JNI object. This change updates the code to use SetByteArrayRegion() which handles releasing any copies that are made by JNI. Also use ScopedLocalRef where possible. Bug: 5442710 Change-Id: Ic8691eb18cac746ee2a2086017ffb9b5558755bd
Diffstat (limited to 'Source/WebCore/rendering/RenderLineBoxList.h')
0 files changed, 0 insertions, 0 deletions