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

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

Issue 291103004: Add conversion from Handle to UntypedHandle (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: HandleImpl -> HandleBase Created 6 years, 7 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 | « no previous file | mojo/android/system/src/org/chromium/mojo/system/DataPipeConsumerHandleImpl.java » ('j') | 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/CoreImpl.java
diff --git a/mojo/android/system/src/org/chromium/mojo/system/CoreImpl.java b/mojo/android/system/src/org/chromium/mojo/system/CoreImpl.java
index 39d17f4652b10eb6bd26c6401342ce386c82b9ec..be3c70663e5be191f4481d588e15808d4b52b6aa 100644
--- a/mojo/android/system/src/org/chromium/mojo/system/CoreImpl.java
+++ b/mojo/android/system/src/org/chromium/mojo/system/CoreImpl.java
@@ -208,7 +208,7 @@ public class CoreImpl implements Core, AsyncWaiter {
if (handles != null) {
for (Handle handle : handles) {
if (handle.isValid()) {
- ((HandleImpl) handle).invalidateHandle();
+ ((HandleBase) handle).invalidateHandle();
}
}
}
@@ -387,7 +387,7 @@ public class CoreImpl implements Core, AsyncWaiter {
*/
private int getMojoHandle(Handle handle) {
if (handle.isValid()) {
- return ((HandleImpl) handle).getMojoHandle();
+ return ((HandleBase) handle).getMojoHandle();
}
return 0;
}
« no previous file with comments | « no previous file | mojo/android/system/src/org/chromium/mojo/system/DataPipeConsumerHandleImpl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698