mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibCore+LibWebView: Move process statistics to LibCore
This will be needed to collect statistics from processes that do not have anything to do with LibWebView. The ProcessInfo structure must be virtual to allow callers to add application-specific information.
This commit is contained in:
committed by
Andrew Kaster
parent
ac594fae5e
commit
5dd3b91f0e
@@ -46,7 +46,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(AK_OS_MACOS)
|
||||
# include <LibWebView/Platform/ProcessStatisticsMach.h>
|
||||
# include <LibCore/Platform/ProcessStatisticsMach.h>
|
||||
#endif
|
||||
|
||||
static ErrorOr<void> load_content_filters();
|
||||
@@ -132,7 +132,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
|
||||
#if defined(AK_OS_MACOS)
|
||||
if (!mach_server_name.is_empty()) {
|
||||
WebView::register_with_mach_server(mach_server_name);
|
||||
Core::Platform::register_with_mach_server(mach_server_name);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user