Skip to content

Commit

Permalink
Re-add an early exit to GetOrCreateExtensionList. The safeguard is us…
Browse files Browse the repository at this point in the history
…eful during testing but I had optimistically removed it because browser_tests were passing locally. However, the bots didn't like it.

TBR=kalman
BUG=328441

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244674 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
finnur@chromium.org committed Jan 14, 2014
1 parent 4f2f353 commit 2fac380
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ void ExtensionMessageBubbleController::AcknowledgeExtensions() {
}

ExtensionIdList* ExtensionMessageBubbleController::GetOrCreateExtensionList() {
if (!service_)
return &extension_list_; // Can occur during testing.

if (!initialized_) {
scoped_ptr<const ExtensionSet> extension_set(
service_->GenerateInstalledExtensionsSet());
Expand Down

0 comments on commit 2fac380

Please sign in to comment.