Commit 797623d3 authored by Patrick Noland's avatar Patrick Noland Committed by Commit Bot

Fix animated doodle fetching

Bug: 888627
Change-Id: Ibb73ce82d983aa9a4e7493352b7469ac00e85d69
Reviewed-on: https://chromium-review.googlesource.com/c/1257815Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Commit-Queue: Patrick Noland <pnoland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#596039}
parent 58ffeff9
......@@ -154,7 +154,7 @@ class LogoBridge::AnimatedLogoLoader {
JNIEnv* env = base::android::AttachCurrentThread();
ScopedJavaLocalRef<jbyteArray> j_bytes = ToJavaByteArray(
env, reinterpret_cast<const uint8_t*>(response_body.get()),
env, reinterpret_cast<const uint8_t*>(response_body->data()),
response_body->size());
ScopedJavaLocalRef<jobject> j_gif_image =
Java_LogoBridge_createGifImage(env, j_bytes);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment