Add CHECK() to verify that the resources directory is an absolute path (issue #1673)
This commit is contained in:
parent
322d697169
commit
84c7b0ad8a
|
@ -634,6 +634,7 @@ void CefMainDelegate::InitializeResourceBundle() {
|
|||
|
||||
if (!content_client_.pack_loading_disabled()) {
|
||||
if (!resources_dir.empty()) {
|
||||
CHECK(resources_dir.IsAbsolute());
|
||||
cef_pak_file = resources_dir.Append(FILE_PATH_LITERAL("cef.pak"));
|
||||
cef_100_percent_pak_file =
|
||||
resources_dir.Append(FILE_PATH_LITERAL("cef_100_percent.pak"));
|
||||
|
|
Loading…
Reference in New Issue