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

Unified Diff: mojo/services/native_viewport/platform_viewport_android.h

Issue 1092033003: Pulls display related changes from mojo to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: mojo/services/native_viewport/platform_viewport_android.h
diff --git a/mojo/services/native_viewport/platform_viewport_android.h b/mojo/services/native_viewport/platform_viewport_android.h
index ebfe949540c903304c57acbfbab30948b1e33707..b3a0b861dff5c3c21720476a2d4d7a0ada4ab353 100644
--- a/mojo/services/native_viewport/platform_viewport_android.h
+++ b/mojo/services/native_viewport/platform_viewport_android.h
@@ -6,7 +6,6 @@
#define SERVICES_NATIVE_VIEWPORT_PLATFORM_VIEWPORT_ANDROID_H_
#include "base/android/jni_weak_ref.h"
-#include "base/android/scoped_java_ref.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "mojo/services/native_viewport/platform_viewport.h"
@@ -68,7 +67,8 @@ class PlatformViewportAndroid : public PlatformViewport {
void ReleaseWindow();
- Delegate* delegate_;
+ Delegate* const delegate_;
+ JavaObjectWeakGlobalRef java_platform_viewport_android_;
ANativeWindow* window_;
mojo::ViewportMetricsPtr metrics_;
ui::SequentialIDGenerator id_generator_;

Powered by Google App Engine
This is Rietveld 408576698