Index: chrome/browser/android/logo_bridge.cc |
diff --git a/chrome/browser/android/logo_bridge.cc b/chrome/browser/android/logo_bridge.cc |
index 22f63a1130c8a9d3ee38e578463f91a593d644d5..a1e053d46dc3a8af101d962b55f98c2df42584b0 100644 |
--- a/chrome/browser/android/logo_bridge.cc |
+++ b/chrome/browser/android/logo_bridge.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/android/logo_bridge.h" |
#include <jni.h> |
+#include <stdint.h> |
#include "base/android/jni_android.h" |
#include "base/android/jni_array.h" |
@@ -158,8 +159,9 @@ void LogoBridge::OnURLFetchComplete(const net::URLFetcher* source) { |
source->GetResponseAsString(&response); |
JNIEnv* env = base::android::AttachCurrentThread(); |
- ScopedJavaLocalRef<jbyteArray> j_bytes = ToJavaByteArray( |
- env, reinterpret_cast<const uint8*>(response.data()), response.length()); |
+ ScopedJavaLocalRef<jbyteArray> j_bytes = |
+ ToJavaByteArray(env, reinterpret_cast<const uint8_t*>(response.data()), |
+ response.length()); |
ScopedJavaLocalRef<jobject> j_gif_image = |
Java_LogoBridge_createGifImage(env, j_bytes.obj()); |
Java_AnimatedLogoCallback_onAnimatedLogoAvailable(env, j_callback_.obj(), |