| Index: components/cronet/android/java/src/org/chromium/net/UrlRequestContext.java
|
| diff --git a/components/cronet/android/java/src/org/chromium/net/UrlRequestContext.java b/components/cronet/android/java/src/org/chromium/net/UrlRequestContext.java
|
| index 8396f2a248fcd82981f3d84651c000a020b335f1..d5a86bc46c0bc68aa7be0cbe33cac290601f05ac 100644
|
| --- a/components/cronet/android/java/src/org/chromium/net/UrlRequestContext.java
|
| +++ b/components/cronet/android/java/src/org/chromium/net/UrlRequestContext.java
|
| @@ -46,10 +46,10 @@ public class UrlRequestContext {
|
|
|
| /**
|
| * Returns the version of this network stack formatted as N.N.N.N/X where
|
| - * N.N.N.N is the version of Chromium and X is the version of the JNI layer.
|
| + * N.N.N.N is the version of Chromium and X is the revision number.
|
| */
|
| public static String getVersion() {
|
| - return nativeGetVersion();
|
| + return Version.getVersion();
|
| }
|
|
|
| /**
|
| @@ -119,8 +119,6 @@ public class UrlRequestContext {
|
| return loggingLevel;
|
| }
|
|
|
| - private static native String nativeGetVersion();
|
| -
|
| // Returns an instance URLRequestContextPeer to be stored in
|
| // mUrlRequestContextPeer.
|
| private native long nativeCreateRequestContextPeer(Context context,
|
|
|