Bug 692716 - e10s support for UI in Panorama r=dao
authorRaymond Lee <raymond@raysquare.com>
Mon, 10 Oct 2011 13:24:01 +0800
changeset 78982 38c901ad89cc07c40821a07867c3322755eaed8d
parent 78948 80be49be4394699b7a02fb34b95878c142fce3eb
child 78983 9bf1262cc262048421210d93308131aed67dd8a0
push idunknown
push userunknown
push dateunknown
reviewersdao
bugs692716
milestone10.0a1
Bug 692716 - e10s support for UI in Panorama r=dao
browser/base/content/tabview/ui.js
--- a/browser/base/content/tabview/ui.js
+++ b/browser/base/content/tabview/ui.js
@@ -600,17 +600,17 @@ let UI = {
 #ifdef XP_WIN
     // Push the top of TabView frame to behind the tabbrowser, so glass can show
     // XXX bug 586679: avoid shrinking the iframe and squishing iframe contents
     // as well as avoiding the flash of black as we animate out
     gTabViewFrame.style.marginTop = gBrowser.boxObject.y + "px";
 #endif
     gTabViewDeck.selectedPanel = gBrowserPanel;
     gWindow.TabsInTitlebar.allowedBy("tabview-open", true);
-    gBrowser.contentWindow.focus();
+    gBrowser.selectedBrowser.focus();
 
     gBrowser.updateTitlebar();
 #ifdef XP_MACOSX
     this.setTitlebarColors(false);
 #endif
     Storage.saveVisibilityData(gWindow, "false");
 
     this._isChangingVisibility = false;