chore: fix linting error on master (#14609)

This commit is contained in:
Samuel Attard 2018-09-14 00:28:47 +10:00 committed by GitHub
parent 73a1a8b3f0
commit 8cb449b5e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,9 +61,9 @@ void LoadResourceBundle(const std::string& locale) {
bundle.AddDataPackFromPath(pak_dir.Append(FILE_PATH_LITERAL("resources.pak")), bundle.AddDataPackFromPath(pak_dir.Append(FILE_PATH_LITERAL("resources.pak")),
ui::SCALE_FACTOR_NONE); ui::SCALE_FACTOR_NONE);
#if defined(ENABLE_PDF_VIEWER) #if defined(ENABLE_PDF_VIEWER)
NOTIMPLEMENTED() << "Hi, whoever's fixing PDF support! Thanks! The pdf viewer " NOTIMPLEMENTED() << "Hi, whoever's fixing PDF support! Thanks! The pdf "
"resources haven't been ported over to the GN build yet, so you'll " "viewer resources haven't been ported over to the GN build yet, so "
"probably need to change this bit of code."; "you'll probably need to change this bit of code.";
bundle.AddDataPackFromPath( bundle.AddDataPackFromPath(
pak_dir.Append(FILE_PATH_LITERAL("pdf_viewer_resources.pak")), pak_dir.Append(FILE_PATH_LITERAL("pdf_viewer_resources.pak")),
ui::GetSupportedScaleFactors()[0]); ui::GetSupportedScaleFactors()[0]);