Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: chrome/browser/android/logo_bridge.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/location_settings_impl.h ('k') | chrome/browser/android/logo_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(),
« no previous file with comments | « chrome/browser/android/location_settings_impl.h ('k') | chrome/browser/android/logo_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698