| 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) {
|
|
|