Skip to content

Commit

Permalink
Sets a white background color for iOS unittest windows.
Browse files Browse the repository at this point in the history
This makes the UILabel with the test suite name visible again.

BUG=None
TEST=None

Review URL: https://codereview.chromium.org/637403003

Cr-Commit-Position: refs/heads/master@{#298872}
  • Loading branch information
rohitrao authored and Commit bot committed Oct 9, 2014
1 parent 890d7de commit 6ef842c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/test/test_support_ios.mm
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ - (BOOL)application:(UIApplication *)application

// Yes, this is leaked, it's just to make what's running visible.
window_.reset([[UIWindow alloc] initWithFrame:bounds]);
[window_ setBackgroundColor:[UIColor whiteColor]];
[window_ makeKeyAndVisible];

// Add a label with the app name.
Expand Down

0 comments on commit 6ef842c

Please sign in to comment.