Bug 718961 - Make sure we copy the URI from the java to the C++ event for the VISITED event. r=blassey
authorKartikaya Gupta <kgupta@mozilla.com>
Tue, 24 Jan 2012 09:59:31 -0500
changeset 86458 8193983c614d5ca5423c27292a286c51f3725de3
parent 86457 80dc2d055f552847557a2b0ac81b0ab9b8ec551c
child 86459 da20a9c178f58a1a951f9f6c98ca85a93c780288
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersblassey
bugs718961
milestone12.0a1
Bug 718961 - Make sure we copy the URI from the java to the C++ event for the VISITED event. r=blassey
widget/android/AndroidJavaWrappers.cpp
--- a/widget/android/AndroidJavaWrappers.cpp
+++ b/widget/android/AndroidJavaWrappers.cpp
@@ -496,16 +496,21 @@ AndroidGeckoEvent::Init(JNIEnv *jenv, jo
         }
 
         case NETWORK_CHANGED: {
             mBandwidth = jenv->GetDoubleField(jobj, jBandwidthField);
             mCanBeMetered = jenv->GetBooleanField(jobj, jCanBeMeteredField);
             break;
         }
 
+        case VISITED: {
+            ReadCharactersField(jenv);
+            break;
+        }
+
         default:
             break;
     }
 
 #ifndef DEBUG_ANDROID_EVENTS
     ALOG("AndroidGeckoEvent: %p : %d", (void*)jobj, mType);
 #endif
 }