Index: components/cronet/android/test/test_upload_data_stream_handler.cc |
diff --git a/components/cronet/android/test/test_upload_data_stream_handler.cc b/components/cronet/android/test/test_upload_data_stream_handler.cc |
index ae324d06458ceea1c3b3ca6a2a91301a5fb5469c..1c3e68327ab72129fcb8595ca95fc16ca51144c0 100644 |
--- a/components/cronet/android/test/test_upload_data_stream_handler.cc |
+++ b/components/cronet/android/test/test_upload_data_stream_handler.cc |
@@ -164,7 +164,7 @@ void TestUploadDataStreamHandler::NotifyJavaReadCompleted() { |
data_read = std::string(read_buffer_->data(), bytes_read_); |
cronet::Java_TestUploadDataStreamHandler_onReadCompleted( |
env, jtest_upload_data_stream_handler_.obj(), bytes_read_, |
- base::android::ConvertUTF8ToJavaString(env, data_read).Release()); |
+ base::android::ConvertUTF8ToJavaString(env, data_read).obj()); |
} |
static jlong CreateTestUploadDataStreamHandler( |