Bug 718961 - Fix typo in event name. r=blassey
authorKartikaya Gupta <kgupta@mozilla.com>
Tue, 24 Jan 2012 10:00:42 -0500
changeset 86459 da20a9c178f58a1a951f9f6c98ca85a93c780288
parent 86458 8193983c614d5ca5423c27292a286c51f3725de3
child 86460 dc059f35f32bfa25aa8f699f328926b0078721ca
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 - Fix typo in event name. r=blassey
mobile/android/base/GeckoAppShell.java
mobile/android/base/GeckoEvent.java
--- a/mobile/android/base/GeckoAppShell.java
+++ b/mobile/android/base/GeckoAppShell.java
@@ -141,17 +141,17 @@ public class GeckoAppShell
         e.printStackTrace(pw);
         pw.flush();
         reportJavaCrash(sw.toString());
     }
 
     private static native void reportJavaCrash(String stackTrace);
 
     public static void notifyUriVisited(String uri) {
-        sendEventToGecko(new GeckoEvent(GeckoEvent.VISTITED, uri));
+        sendEventToGecko(new GeckoEvent(GeckoEvent.VISITED, uri));
     }
 
     public static native void processNextNativeEvent();
 
     public static native void notifyBatteryChange(double aLevel, boolean aCharging, double aRemainingTime);
 
     public static native void notifySmsReceived(String aSender, String aBody, long aTimestamp);
     public static native int  saveMessageInSentbox(String aReceiver, String aBody, long aTimestamp);
--- a/mobile/android/base/GeckoEvent.java
+++ b/mobile/android/base/GeckoEvent.java
@@ -75,17 +75,17 @@ public class GeckoEvent {
     public static final int LOAD_URI = 12;
     public static final int SURFACE_CREATED = 13;
     public static final int SURFACE_DESTROYED = 14;
     public static final int GECKO_EVENT_SYNC = 15;
     public static final int ACTIVITY_START = 17;
     public static final int BROADCAST = 19;
     public static final int VIEWPORT = 20;
     public static final int TILE_SIZE = 21;
-    public static final int VISTITED = 22;
+    public static final int VISITED = 22;
     public static final int NETWORK_CHANGED = 23;
 
     public static final int IME_COMPOSITION_END = 0;
     public static final int IME_COMPOSITION_BEGIN = 1;
     public static final int IME_SET_TEXT = 2;
     public static final int IME_GET_TEXT = 3;
     public static final int IME_DELETE_TEXT = 4;
     public static final int IME_SET_SELECTION = 5;