wujinli

#47964: fix: compilation error when disabling extensions and pdf_viewer

Merged
Created: Aug 5, 2025, 6:10:37 AM
Merged: Aug 7, 2025, 10:18:32 AM
8 comments
Target: main

Description of Change

here we fix the compile error:

// args.gn file
enable_electron_extensions=false
enable_pdf_viewer=false

Checklist

Release Notes

Notes: Fixed compilation error when disabling extensions and pdf_viewer

Backports

37-x-y
Merged
PR Number
#47994
Merged At
Aug 7, 2025, 4:01:43 PM
Released In
Not yet
Release Date
Not yet
38-x-y
Merged
PR Number
#47993
Merged At
Aug 7, 2025, 3:49:38 PM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron