"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "shell/browser/electron_browser_main_parts.cc" between
electron-11.4.1.tar.gz and electron-11.4.2.tar.gz

About: Electron is a framework for creating native cross platform applications with web technologies like JavaScript, HTML, and CSS.

electron_browser_main_parts.cc  (electron-11.4.1):electron_browser_main_parts.cc  (electron-11.4.2)
skipping to change at line 337 skipping to change at line 337
// Wrap the uv loop with global env. // Wrap the uv loop with global env.
node_bindings_->set_uv_env(env); node_bindings_->set_uv_env(env);
// We already initialized the feature list in PreEarlyInitialization(), but // We already initialized the feature list in PreEarlyInitialization(), but
// the user JS script would not have had a chance to alter the command-line // the user JS script would not have had a chance to alter the command-line
// switches at that point. Lets reinitialize it here to pick up the // switches at that point. Lets reinitialize it here to pick up the
// command-line changes. // command-line changes.
base::FeatureList::ClearInstanceForTesting(); base::FeatureList::ClearInstanceForTesting();
InitializeFeatureList(); InitializeFeatureList();
// Initialize field trials.
InitializeFieldTrials();
// Initialize after user script environment creation. // Initialize after user script environment creation.
fake_browser_process_->PostEarlyInitialization(); fake_browser_process_->PostEarlyInitialization();
} }
int ElectronBrowserMainParts::PreCreateThreads() { int ElectronBrowserMainParts::PreCreateThreads() {
#if defined(USE_AURA) #if defined(USE_AURA)
display::Screen* screen = views::CreateDesktopScreen(); display::Screen* screen = views::CreateDesktopScreen();
display::Screen::SetScreenInstance(screen); display::Screen::SetScreenInstance(screen);
#if defined(USE_X11) #if defined(USE_X11)
views::LinuxUI::instance()->UpdateDeviceScaleFactor(); views::LinuxUI::instance()->UpdateDeviceScaleFactor();
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)