diff options
author | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 12:48:22 +0000 |
---|---|---|
committer | bulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-02 12:48:22 +0000 |
commit | 0d477b23a43070fe4bc4cd567dfdbe83e5838586 (patch) | |
tree | 750dd86c2cb9f180f312750e70cd017690ee286b /content/app | |
parent | 24c8985d9cd5c25b9ae26111ba70212be188c6fe (diff) | |
download | chromium_src-0d477b23a43070fe4bc4cd567dfdbe83e5838586.zip chromium_src-0d477b23a43070fe4bc4cd567dfdbe83e5838586.tar.gz chromium_src-0d477b23a43070fe4bc4cd567dfdbe83e5838586.tar.bz2 |
MemoryPressure: sends the signal to the renderer.
BUG=251723
Review URL: https://chromiumcodereview.appspot.com/17351006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209686 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/app')
-rw-r--r-- | content/app/android/child_process_service.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/app/android/child_process_service.cc b/content/app/android/child_process_service.cc index d28d81e..88de2ad 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_thread.h" @@ -101,6 +102,7 @@ void InternalInitChildProcess(const std::vector<int>& file_ids, content::SurfaceTexturePeer::InitInstance( new SurfaceTexturePeerChildImpl(service)); + base::android::MemoryPressureListenerAndroid::RegisterSystemCallback(env); } } // namespace <anonymous> |