Skip to content

Commit 0b97557

Browse files
authored
Replace process_t with pid_t and remove the static assert thats no longer needed (#355)
1 parent 2c13cd0 commit 0b97557

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

WebKitBrowser/WebKitBrowser.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ namespace WebKitBrowser {
451451

452452
class ProcessMemoryObserverImpl : public Exchange::IProcessMemory {
453453
public:
454-
explicit ProcessMemoryObserverImpl(Core::process_t id)
454+
explicit ProcessMemoryObserverImpl(pid_t id)
455455
: Exchange::IProcessMemory()
456456
, _info(id)
457457
{
@@ -482,7 +482,6 @@ namespace WebKitBrowser {
482482
}
483483

484484
uint32_t Identifier() const override {
485-
static_assert(sizeof(Core::process_t) <= sizeof(uint32_t), "PId type size too big to fit in IProcessMemory::ID");
486485
return _info.Id();
487486
}
488487

0 commit comments

Comments
 (0)