We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad079b5 + be7fd9d commit df59af1Copy full SHA for df59af1
src/shell_main_delegate.cc
@@ -22,6 +22,7 @@
22
23
#include "base/command_line.h"
24
#include "base/files/file_path.h"
25
+#include "base/file_util.h"
26
#include "base/logging.h"
27
#include "base/path_service.h"
28
#include "base/strings/utf_string_conversions.h"
@@ -163,6 +164,7 @@ void ShellMainDelegate::InitializeResourceBundle() {
163
164
FilePath pak_dir;
165
PathService::Get(base::DIR_MODULE, &pak_dir);
166
pak_file = pak_dir.Append(FILE_PATH_LITERAL("nw.pak"));
167
+ CHECK(file_util::PathExists(pak_file)) << "nw.pak is missing";
168
#endif
169
ui::ResourceBundle::InitSharedInstanceWithPakPath(pak_file);
170
}
0 commit comments