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

Issue 7981011: Fix the ChromeFrame net tests dchecks in debug builds due to a missing AtExitManager instance. (Closed)

Created:
9 years, 3 months ago by ananta
Modified:
9 years, 3 months ago
Reviewers:
jam
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, amit
Visibility:
Public.

Description

Fix the ChromeFrame net tests dchecks in debug builds due to a missing AtExitManager instance. The AtExitManager instance is initialized by the NetTestSuite class constructor. The dchecks fire because the NotificationService constructor uses the lazy instance class which relies on the AtExitManager instance being initialized. The fix is to initialize the NotificationService instance after the NetTestSuite constructor has done its job. BUG=none TEST=chrome frame net tests should pass in debug builds. TBR=jam Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101994

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M chrome_frame/test/net/fake_external_tab.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome_frame/test/net/fake_external_tab.cc View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ananta
9 years, 3 months ago (2011-09-20 19:40:15 UTC) #1
jam
9 years, 3 months ago (2011-09-20 20:07:35 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698