mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibCore: Rename File to DeprecatedFile
As usual, this removes many unused includes and moves used includes further down the chain.
This commit is contained in:
committed by
Linus Groh
parent
14951b92ca
commit
d43a7eae54
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include "Process.h"
|
||||
#include <LibCore/File.h>
|
||||
#include <LibCore/DeprecatedFile.h>
|
||||
|
||||
namespace Profiler {
|
||||
|
||||
@@ -93,7 +93,7 @@ void LibraryMetadata::handle_mmap(FlatPtr base, size_t size, DeprecatedString co
|
||||
DeprecatedString full_path;
|
||||
if (path_string.starts_with('/'))
|
||||
full_path = path_string;
|
||||
else if (Core::File::looks_like_shared_library(path_string))
|
||||
else if (Core::DeprecatedFile::looks_like_shared_library(path_string))
|
||||
full_path = DeprecatedString::formatted("/usr/lib/{}", path);
|
||||
else
|
||||
full_path = path_string;
|
||||
|
||||
Reference in New Issue
Block a user