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

Unified Diff: ui/android/window_android.h

Issue 1034593002: Fix WindowAndroid leak in Android WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « android_webview/java/src/org/chromium/android_webview/AwContents.java ('k') | ui/android/window_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/window_android.h
diff --git a/ui/android/window_android.h b/ui/android/window_android.h
index cb201cd9e45b0e48a3de8782b9f7fad930973e4c..f464a11bdfbedc9c4bdcc8f9828fc84a92ec1c8c 100644
--- a/ui/android/window_android.h
+++ b/ui/android/window_android.h
@@ -63,7 +63,7 @@ class UI_ANDROID_EXPORT WindowAndroid {
private:
~WindowAndroid();
- JavaObjectWeakGlobalRef weak_java_window_;
+ base::android::ScopedJavaGlobalRef<jobject> java_window_;
gfx::Vector2dF content_offset_;
WindowAndroidCompositor* compositor_;
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContents.java ('k') | ui/android/window_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698