Bug 805808 - Initialize _activeType to 0 instead of undefined. r=margaret
authorKartikaya Gupta <kgupta@mozilla.com>
Sat, 27 Oct 2012 14:08:36 -0400
changeset 111614 dcf78e64e1bd32c776699cb5d58b41ea9020a7b4
parent 111613 3e02a25a5e7d99c8a4e006d30da92c7594fb608a
child 111615 c5428231b6f7b17a29ebd6ded683ed9b312c06b1
child 111616 43e09a8466c25bdd618cfae78bf39364ea32a80e
push id23756
push userryanvm@gmail.com
push dateSat, 27 Oct 2012 20:39:25 +0000
treeherdermozilla-central@c5428231b6f7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs805808
milestone19.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 805808 - Initialize _activeType to 0 instead of undefined. r=margaret
mobile/android/chrome/content/browser.js
--- a/mobile/android/chrome/content/browser.js
+++ b/mobile/android/chrome/content/browser.js
@@ -1591,17 +1591,17 @@ var SelectionHandler = {
 
   TYPE_NONE: 0,
   TYPE_CURSOR: 1,
   TYPE_SELECTION: 2,
 
   // Keeps track of data about the dimensions of the selection. Coordinates
   // stored here are relative to the _view window.
   cache: null,
-  _activeType: this.TYPE_NONE,
+  _activeType: 0, // TYPE_NONE
 
   // The window that holds the selection (can be a sub-frame)
   get _view() {
     if (this._viewRef)
       return this._viewRef.get();
     return null;
   },