| Index: content/app/android/child_process_service.cc
|
| diff --git a/content/app/android/child_process_service.cc b/content/app/android/child_process_service.cc
|
| index b06b0b4d6d80f2903032f10b9979a860abf67985..e2250048de2d9054eda0caa007e8701a82069425 100644
|
| --- a/content/app/android/child_process_service.cc
|
| +++ b/content/app/android/child_process_service.cc
|
| @@ -8,6 +8,7 @@
|
| #include <cpu-features.h>
|
|
|
| #include "base/android/jni_array.h"
|
| +#include "base/android/memory_pressure_listener_android.h"
|
| #include "base/logging.h"
|
| #include "base/posix/global_descriptors.h"
|
| #include "content/child/child_process.h"
|
| @@ -102,6 +103,7 @@ void InternalInitChildProcess(const std::vector<int>& file_ids,
|
| content::SurfaceTexturePeer::InitInstance(
|
| new SurfaceTexturePeerChildImpl(service));
|
|
|
| + base::android::MemoryPressureListenerAndroid::RegisterSystemCallback(env);
|
| }
|
|
|
| void QuitMainThreadMessageLoop() {
|
|
|