DescriptionFix compilation with Ozone build for chromium browser.
Compiling Error:
../../chrome/browser/shell_integration_linux.cc:294:13: error: unused function 'QuoteCommandLineForDesktopFileExec' [-Werror,-Wunused-function]
std::string QuoteCommandLineForDesktopFileExec(
^
../../chrome/browser/shell_integration_linux.cc:310:12: error: unused variable 'kDesktopEntry' [-Werror,-Wunused-const-variable]
const char kDesktopEntry[] = "Desktop Entry";
^
../../chrome/browser/shell_integration_linux.cc:312:12: error: unused variable 'kXdgOpenShebang' [-Werror,-Wunused-const-variable]
const char kXdgOpenShebang[] = "#!/usr/bin/env xdg-open";
^
3 errors generated.
The above mentioned function and variables are only used from GetNoDisplayFromDesktopFile,
only when support for GLIB is enabled.
Committed: https://crrev.com/577803cd5ac9c7e65cb39f4b18688ff841e82500
Cr-Commit-Position: refs/heads/master@{#291748}
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|