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

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

Issue 920083002: Move detachGLFunctor call before hardware teardown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to invalidateOnFunctorDestroy Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e124eb5583574a04ce8d1f3712682f37aa00133a..47569435789d2591afde7f67b1c02351fc815d27 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -2217,6 +2217,7 @@ public class AwContents implements SmartClipProvider {
// draw functor destruction.
@CalledByNative
private void invalidateOnFunctorDestroy() {
+ mNativeGLDelegate.detachGLFunctor();
mContainerView.invalidate();
}
@@ -2574,7 +2575,6 @@ public class AwContents implements SmartClipProvider {
}
mScrollAccessibilityHelper.removePostedCallbacks();
- mNativeGLDelegate.detachGLFunctor();
}
@Override
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698