Chromium Code Reviews| Index: content/browser/screen_orientation/screen_orientation_provider_android.h |
| diff --git a/content/browser/screen_orientation/screen_orientation_provider_android.h b/content/browser/screen_orientation/screen_orientation_provider_android.h |
| index 394e5e64549c4fe8507911482eb855a9584e72b4..eac7cce8537cbfcce32f44deb17a3c67c5e8a2a1 100644 |
| --- a/content/browser/screen_orientation/screen_orientation_provider_android.h |
| +++ b/content/browser/screen_orientation/screen_orientation_provider_android.h |
| @@ -5,7 +5,8 @@ |
| #ifndef CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_PROVIDER_ANDROID_H_ |
| #define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_PROVIDER_ANDROID_H_ |
| -#include "base/android/jni_android.h" |
| +#include <jni.h> |
|
Michael van Ouwerkerk
2014/07/23 14:44:01
What's the difference?
mlamouri (slow - plz ping)
2014/07/23 14:51:33
It will include less stuff. I needed JNIEnv and ba
|
| + |
| #include "base/compiler_specific.h" |
| #include "content/browser/screen_orientation/screen_orientation_provider.h" |
| #include "content/public/browser/web_contents_observer.h" |
| @@ -46,8 +47,6 @@ class ScreenOrientationProviderAndroid : public ScreenOrientationProvider, |
| virtual ~ScreenOrientationProviderAndroid(); |
| - base::android::ScopedJavaGlobalRef<jobject> j_screen_orientation_provider_; |
| - |
| // ScreenOrientationDispatcherHost owns ScreenOrientationProvider so |
| // dispatcher_ should not point to an invalid memory. |
| ScreenOrientationDispatcherHost* dispatcher_; |