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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 233103002: Added a call to hide the popup when the render process dies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated code with added calls to |resetScrollInProgress()| and |resetGestureDetectors()| Created 6 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
« 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: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index eac7cf399f153f1eee3fd49092f8c66cec186d3d..4a825d8dcc2c9c1b1fda409fea926af7ee3558b4 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -734,6 +734,13 @@ public class ContentViewCore
resetScrollInProgress();
resetGestureDetectors();
}
+
+ @Override
+ public void renderProcessGone(boolean wasOomProtected) {
+ hidePopupDialog();
+ resetScrollInProgress();
+ resetGestureDetectors();
+ }
};
}
« 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