| Index: android_webview/native/aw_dev_tools_server.cc
|
| diff --git a/android_webview/native/aw_dev_tools_server.cc b/android_webview/native/aw_dev_tools_server.cc
|
| index 6b3e82a33859b966450af7cb8d0ea24e451b9dd7..41b4994d23e3b99b8f588543e8b7a9ea8b7027c4 100644
|
| --- a/android_webview/native/aw_dev_tools_server.cc
|
| +++ b/android_webview/native/aw_dev_tools_server.cc
|
| @@ -157,17 +157,19 @@ bool RegisterAwDevToolsServer(JNIEnv* env) {
|
| }
|
|
|
| static jlong InitRemoteDebugging(JNIEnv* env,
|
| - jobject obj) {
|
| + const JavaParamRef<jobject>& obj) {
|
| AwDevToolsServer* server = new AwDevToolsServer();
|
| return reinterpret_cast<intptr_t>(server);
|
| }
|
|
|
| -static void DestroyRemoteDebugging(JNIEnv* env, jobject obj, jlong server) {
|
| +static void DestroyRemoteDebugging(JNIEnv* env,
|
| + const JavaParamRef<jobject>& obj,
|
| + jlong server) {
|
| delete reinterpret_cast<AwDevToolsServer*>(server);
|
| }
|
|
|
| static void SetRemoteDebuggingEnabled(JNIEnv* env,
|
| - jobject obj,
|
| + const JavaParamRef<jobject>& obj,
|
| jlong server,
|
| jboolean enabled) {
|
| AwDevToolsServer* devtools_server =
|
|
|