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

Unified Diff: content/app/android/library_loader_hooks.cc

Issue 10823094: Add bitmap utils for Chrome on Android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Include fixes from downstream Created 8 years, 5 months 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 | « no previous file | ui/gfx/android/bitmap_android.h » ('j') | ui/gfx/android/bitmap_android.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/android/library_loader_hooks.cc
diff --git a/content/app/android/library_loader_hooks.cc b/content/app/android/library_loader_hooks.cc
index e534a0ba1af55581a04d758a7cd37660ab8f7de2..24bb17662504770edfb2c162bb0ef116ffa50cca 100644
--- a/content/app/android/library_loader_hooks.cc
+++ b/content/app/android/library_loader_hooks.cc
@@ -25,6 +25,7 @@
#include "media/base/android/media_jni_registrar.h"
#include "net/android/net_jni_registrar.h"
#include "jni/LibraryLoader_jni.h"
+#include "ui/gfx/android/gfx_jni_registrar.h"
namespace {
base::AtExitManager* g_at_exit_manager = NULL;
@@ -77,6 +78,9 @@ static jboolean LibraryLoadedOnMainThread(JNIEnv* env, jclass clazz,
if (!media::RegisterJni(env))
return JNI_FALSE;
+ if (!gfx::RegisterJni(env))
+ return JNI_FALSE;
+
return JNI_TRUE;
}
« no previous file with comments | « no previous file | ui/gfx/android/bitmap_android.h » ('j') | ui/gfx/android/bitmap_android.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698