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

Unified Diff: content/browser/android/child_process_launcher_android.cc

Issue 58203002: Android: remove ContentViewCore from the renderer crash codepath. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 7 years, 1 month 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: content/browser/android/child_process_launcher_android.cc
diff --git a/content/browser/android/child_process_launcher_android.cc b/content/browser/android/child_process_launcher_android.cc
index 962fee861f7e639097c2afd822c6d6fea12a8250..cbc80c04f9fc892fd954e3cdf6a9b16d232e2748 100644
--- a/content/browser/android/child_process_launcher_android.cc
+++ b/content/browser/android/child_process_launcher_android.cc
@@ -131,6 +131,13 @@ void StopChildProcess(base::ProcessHandle handle) {
Java_ChildProcessLauncher_stop(env, static_cast<jint>(handle));
}
+bool IsChildProcessOomProtected(base::ProcessHandle handle) {
+ JNIEnv* env = AttachCurrentThread();
+ DCHECK(env);
+ return Java_ChildProcessLauncher_isOomProtected(env,
+ static_cast<jint>(handle));
+}
+
void EstablishSurfacePeer(
JNIEnv* env, jclass clazz,
jint pid, jobject surface, jint primary_id, jint secondary_id) {
« no previous file with comments | « content/browser/android/child_process_launcher_android.h ('k') | content/browser/android/content_view_core_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698