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

Unified Diff: mojo/android/system/src/org/chromium/mojo/system/impl/BaseRunLoop.java

Issue 2272253003: Remove calls to deprecated MessageLoop methods from mojo/. (Closed)
Patch Set: remove unused arguments Created 4 years, 4 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 | « mojo/android/system/base_run_loop.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/android/system/src/org/chromium/mojo/system/impl/BaseRunLoop.java
diff --git a/mojo/android/system/src/org/chromium/mojo/system/impl/BaseRunLoop.java b/mojo/android/system/src/org/chromium/mojo/system/impl/BaseRunLoop.java
index dfe92efd9bc796d24a294be57fe79f4076d32dfb..3db6670d71478fec7483aea7cd84b45dff3734a5 100644
--- a/mojo/android/system/src/org/chromium/mojo/system/impl/BaseRunLoop.java
+++ b/mojo/android/system/src/org/chromium/mojo/system/impl/BaseRunLoop.java
@@ -27,13 +27,13 @@ class BaseRunLoop implements RunLoop {
@Override
public void run() {
assert mRunLoopID != 0 : "The run loop cannot run once closed";
- nativeRun(mRunLoopID);
+ nativeRun();
}
@Override
public void runUntilIdle() {
assert mRunLoopID != 0 : "The run loop cannot run once closed";
- nativeRunUntilIdle(mRunLoopID);
+ nativeRunUntilIdle();
}
@Override
@@ -66,8 +66,8 @@ class BaseRunLoop implements RunLoop {
}
private native long nativeCreateBaseRunLoop();
- private native void nativeRun(long runLoopID);
- private native void nativeRunUntilIdle(long runLoopID);
+ private native void nativeRun();
+ private native void nativeRunUntilIdle();
private native void nativeQuit(long runLoopID);
private native void nativePostDelayedTask(long runLoopID, Runnable runnable, long delay);
private native void nativeDeleteMessageLoop(long runLoopID);
« no previous file with comments | « mojo/android/system/base_run_loop.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698