| Index: blimp/client/core/contents/android/blimp_contents_observer_proxy.cc
|
| diff --git a/blimp/client/core/contents/android/blimp_contents_observer_proxy.cc b/blimp/client/core/contents/android/blimp_contents_observer_proxy.cc
|
| index 437d138372043e2e278e23cf7829a7f3b35630fd..61d668fce9984f9769e0f75eee803d86fd330ee3 100644
|
| --- a/blimp/client/core/contents/android/blimp_contents_observer_proxy.cc
|
| +++ b/blimp/client/core/contents/android/blimp_contents_observer_proxy.cc
|
| @@ -47,14 +47,10 @@ void BlimpContentsObserverProxy::Destroy(
|
| delete this;
|
| }
|
|
|
| -void BlimpContentsObserverProxy::OnURLUpdated(const GURL& url) {
|
| +void BlimpContentsObserverProxy::OnNavigationStateChanged() {
|
| JNIEnv* env = base::android::AttachCurrentThread();
|
| - base::android::ScopedJavaLocalRef<jobject> obj(java_obj_);
|
| - base::android::ScopedJavaLocalRef<jstring> jstring_url(
|
| - base::android::ConvertUTF8ToJavaString(env, url.spec()));
|
| -
|
| - Java_BlimpContentsObserverProxy_onUrlUpdated(env, obj.obj(),
|
| - jstring_url.obj());
|
| + Java_BlimpContentsObserverProxy_onNavigationStateChanged(env,
|
| + java_obj_.obj());
|
| }
|
|
|
| } // namespace client
|
|
|