Bug 1079761 - Add 'stop tab mirroring' one level higher in the menu. r=rbarker, a=lmandel
authorChenxia Liu <liuche@mozilla.com>
Tue, 14 Oct 2014 16:31:10 -0700
changeset 225748 4018d170ab06
parent 225747 fc032520a26e
child 225749 f19a52b7e6ec
push id4000
push userryanvm@gmail.com
push date2014-10-20 16:31 +0000
treeherdermozilla-beta@6d2e5afd8b75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrbarker, lmandel
bugs1079761
milestone34.0
Bug 1079761 - Add 'stop tab mirroring' one level higher in the menu. r=rbarker, a=lmandel
mobile/android/chrome/content/CastingApps.js
--- a/mobile/android/chrome/content/CastingApps.js
+++ b/mobile/android/chrome/content/CastingApps.js
@@ -121,17 +121,16 @@ var CastingApps = {
         callback: function() {
           if (this.tabMirror) {
             this.tabMirror.stop();
             this.tabMirror = null;
           }
           NativeWindow.menu.update(this.mirrorStartMenuId, { visible: true });
           NativeWindow.menu.update(this.mirrorStopMenuId, { visible: false });
         }.bind(this),
-        parent: NativeWindow.menu.toolsMenuID
       });
     }
     NativeWindow.menu.update(this.mirrorStopMenuId, { visible: false });
   },
 
   serviceLost: function(aService) {
     if (aService.mirror && this.mirrorStartMenuId != -1) {
       let haveMirror = false;