Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / mojo / android / system / src / org / chromium / mojo / system / impl / CoreImpl.java
index 570d3bd..1fd8076 100644 (file)
@@ -64,7 +64,6 @@ public class CoreImpl implements Core, AsyncWaiter {
     }
 
     private CoreImpl() {
-        nativeConstructor();
     }
 
     /**
@@ -172,6 +171,14 @@ public class CoreImpl implements Core, AsyncWaiter {
     }
 
     /**
+     * @see org.chromium.mojo.system.Core#acquireNativeHandle(int)
+     */
+    @Override
+    public UntypedHandle acquireNativeHandle(int handle) {
+        return new UntypedHandleImpl(this, handle);
+    }
+
+    /**
      * @see Core#getDefaultAsyncWaiter()
      */
     @Override
@@ -612,8 +619,6 @@ public class CoreImpl implements Core, AsyncWaiter {
         return result;
     }
 
-    private native void nativeConstructor();
-
     private native long nativeGetTimeTicksNow();
 
     private native int nativeWaitMany(ByteBuffer buffer, long deadline);