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

Unified Diff: android/memory_pressure_listener_android.cc

Issue 2050803003: Update to Chromium //base at Chromium commit e3a753f17bac62738b0dbf0b36510f767b081e4b. (Closed) Base URL: https://github.com/domokit/base.git@master
Patch Set: Created 4 years, 6 months 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
« no previous file with comments | « android/library_loader/library_prefetcher.cc ('k') | android/path_service_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android/memory_pressure_listener_android.cc
diff --git a/android/memory_pressure_listener_android.cc b/android/memory_pressure_listener_android.cc
index 80c07bcf9c1ae305b9a5f331603934b3efee0e53..9d3dd463df03a4c012d2ce63d9cec4d404ed646c 100644
--- a/android/memory_pressure_listener_android.cc
+++ b/android/memory_pressure_listener_android.cc
@@ -8,8 +8,9 @@
#include "jni/MemoryPressureListener_jni.h"
// Defined and called by JNI.
-static void OnMemoryPressure(
- JNIEnv* env, jclass clazz, jint memory_pressure_level) {
+static void OnMemoryPressure(JNIEnv* env,
+ const JavaParamRef<jclass>& clazz,
+ jint memory_pressure_level) {
base::MemoryPressureListener::NotifyMemoryPressure(
static_cast<base::MemoryPressureListener::MemoryPressureLevel>(
memory_pressure_level));
« no previous file with comments | « android/library_loader/library_prefetcher.cc ('k') | android/path_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698