mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 07:47:32 +09:00
clang on windows support
This commit is contained in:
parent
b08f544172
commit
1d44f05fba
22 changed files with 208 additions and 65 deletions
|
|
@ -3694,12 +3694,12 @@ PluginInstanceChild::UpdateWindowAttributes(bool aForceSetWindow)
|
|||
WINDOWPOS winpos = {
|
||||
0, 0,
|
||||
mWindow.x, mWindow.y,
|
||||
mWindow.width, mWindow.height,
|
||||
static_cast<int>(mWindow.width), static_cast<int>(mWindow.height),
|
||||
0
|
||||
};
|
||||
NPEvent pluginEvent = {
|
||||
WM_WINDOWPOSCHANGED, 0,
|
||||
(LPARAM) &winpos
|
||||
reinterpret_cast<uintptr_t>(&winpos)
|
||||
};
|
||||
mPluginIface->event(&mData, &pluginEvent);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1355,7 +1355,7 @@ public:
|
|||
rv = httpChannel->GetReferrerPolicy(&referrerPolicy);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
switch (referrerPolicy) {
|
||||
case nsIHttpChannel::REFERRER_POLICY_UNSET:
|
||||
case static_cast<uint32_t>(nsIHttpChannel::REFERRER_POLICY_UNSET):
|
||||
mReferrerPolicy = ReferrerPolicy::_empty;
|
||||
break;
|
||||
case nsIHttpChannel::REFERRER_POLICY_NO_REFERRER:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue