Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1579)

Issue 11418304: Revert 170795 (Closed)

Created:
8 years ago by sail
Modified:
8 years ago
Reviewers:
sail
CC:
chromium-reviews, sail+watch_chromium.org
Visibility:
Public.

Description

Revert 170795 The ConstrainedWindowMacTest.ShowInUninitializedTab was failing on some bots. http://build.chromium.org/p/tryserver.chromium/builders/mac_rel/builds/78878/steps/browser_tests/logs/stdio > Fix showing constrained window for uninitialized tabs > > If a tab is added without being shown then the associated tab view for the web content will not be created yet. > > When a constrained window is added to that tab the window never gets shown. > > To fix this I've changed ConstrainedWindowMac2 to reshow the window once the web contents becomes visible. > > BUG=163778 > TEST=Reproduced bug 163778 and verified that my patch fixes it. > Verified that ConstrainedWindowMacTest.ShowInUninitializedTab fails without my patch and passes with it. > > > Review URL: https://chromiumcodereview.appspot.com/11419277 TBR=sail@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170903

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -77 lines) Patch
M chrome/browser/ui/cocoa/constrained_window/constrained_window_mac2.h View 4 chunks +1 line, -15 lines 0 comments Download
M chrome/browser/ui/cocoa/constrained_window/constrained_window_mac2.mm View 5 chunks +5 lines, -31 lines 0 comments Download
M chrome/browser/ui/cocoa/constrained_window/constrained_window_mac_browsertest.mm View 3 chunks +0 lines, -31 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
sail
8 years ago (2012-12-04 07:39:55 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698