mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add CHECK() to verify that the resources directory is an absolute path (issue #1673)
This commit is contained in:
@@ -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"));
|
||||
|
Reference in New Issue
Block a user