Skip to content

Commit

Permalink
Try to fix the iOS build
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=271426
rdar://125199641

Unreviewed build fix; imported UniqueRef.h in ExtensionCapabilityGranter.h so that the declaration
of WTF::makeUniqueRefWithoutFastMallocCheck is visible.

* Source/WebKit/UIProcess/Cocoa/ExtensionCapabilityGranter.h:
* Source/WebKit/UIProcess/Cocoa/ExtensionCapabilityGranter.mm:

Canonical link: https://commits.webkit.org/276506@main
  • Loading branch information
aestes committed Mar 21, 2024
1 parent ac05e4c commit b52c0d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Source/WebKit/UIProcess/Cocoa/ExtensionCapabilityGranter.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <wtf/FastMalloc.h>
#include <wtf/Forward.h>
#include <wtf/Noncopyable.h>
#include <wtf/UniqueRef.h>
#include <wtf/WeakPtr.h>

namespace WebKit {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#import <wtf/CrossThreadCopier.h>
#import <wtf/NativePromise.h>
#import <wtf/NeverDestroyed.h>
#import <wtf/UniqueRef.h>

#define GRANTER_RELEASE_LOG(envID, fmt, ...) RELEASE_LOG(ProcessCapabilities, "%{public}s[envID=%{public}s] " fmt, __FUNCTION__, envID.utf8().data(), ##__VA_ARGS__)
#define GRANTER_RELEASE_LOG_ERROR(envID, fmt, ...) RELEASE_LOG_ERROR(ProcessCapabilities, "%{public}s[envID=%{public}s] " fmt, __FUNCTION__, envID.utf8().data(), ##__VA_ARGS__)
Expand Down

0 comments on commit b52c0d8

Please sign in to comment.