Skip to content

Commit

Permalink
Add braces to get the comment indentation right
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 committed Sep 19, 2022
1 parent 077531f commit e707b7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions shell/browser/electron_browser_main_parts.cc
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,11 @@ void ElectronBrowserMainParts::PostEarlyInitialization() {
}

int ElectronBrowserMainParts::PreCreateThreads() {
if (!views::LayoutProvider::Get())
if (!views::LayoutProvider::Get()) {
layout_provider_ = std::make_unique<views::LayoutProvider>();
}

// Fetch the system locale for Electron.
// Fetch the system locale for Electron.
#if BUILDFLAG(IS_MAC)
fake_browser_process_->SetSystemLocale(GetCurrentSystemLocale());
#else
Expand Down

0 comments on commit e707b7f

Please sign in to comment.