Index: ui/gfx/android/gfx_jni_registrar.cc |
diff --git a/ui/gl/egl_util.h b/ui/gfx/android/gfx_jni_registrar.cc |
similarity index 55% |
copy from ui/gl/egl_util.h |
copy to ui/gfx/android/gfx_jni_registrar.cc |
index 57aab2a50a64d45808e819318fc28836d8a50928..d4406c8fc6e4cead0b36c38046eca468f551d601 100644 |
--- a/ui/gl/egl_util.h |
+++ b/ui/gfx/android/gfx_jni_registrar.cc |
@@ -2,14 +2,15 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef UI_GL_EGL_UTIL_H_ |
-#define UI_GL_EGL_UTIL_H_ |
+#include "ui/gfx/android/gfx_jni_registrar.h" |
namespace gfx { |
-// Returns the last EGL error as a string. |
-const char* GetLastEGLErrorString(); |
+void RegisterBitmapAndroid(JNIEnv* env); |
-} // namespace gfx |
+bool RegisterJni(JNIEnv* env) { |
+ RegisterBitmapAndroid(env); |
+ return true; |
+} |
-#endif // UI_GL_EGL_UTIL_H_ |
+} // namespace gfx |