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

Unified Diff: content/browser/child_process_launcher.cc

Issue 58203002: Android: remove ContentViewCore from the renderer crash codepath. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Yaron's comments. 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/child_process_launcher.cc
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc
index 3b95c14dc65d2f9aa0d52a074ff2d079e3946664..8b3cbf8e388c0c73a0c575f43c217bba631745da 100644
--- a/content/browser/child_process_launcher.cc
+++ b/content/browser/child_process_launcher.cc
@@ -475,6 +475,10 @@ base::TerminationStatus ChildProcessLauncher::GetChildTerminationStatus(
context_->termination_status_ =
base::GetKnownDeadTerminationStatus(handle, &context_->exit_code_);
} else
+#elif defined(OS_ANDROID)
+ if (IsChildProcessOomProtected(handle)) {
+ context_->termination_status_ = base::TERMINATION_STATUS_OOM_PROTECTED;
+ } else
#endif
{
context_->termination_status_ =

Powered by Google App Engine
This is Rietveld 408576698