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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 1927543003: Remove DrawGLFunctor CleanupReference. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make Runnable static, throw if native DrawGLFunctor destroyed Created 4 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: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 7e906cf1f8c504b07ef0205de64cee954a08bbdd..a524adaf10c799803624dd49f98935dd53dea4fa 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -215,6 +215,14 @@ public class AwContents implements SmartClipProvider,
* Detaches the GLFunctor from the view tree.
*/
void detach(View containerView);
+
+ /**
+ * Get a Runnable that is used to destroy the native portion of the functor. After the
+ * run method of this Runnable is called, no other methods should be called on the Java
+ * object.
+ */
+ Runnable getDestroyRunnable();
+
}
/**

Powered by Google App Engine
This is Rietveld 408576698