Loading dom/events/MouseEvent.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -215,9 +215,7 @@ already_AddRefed<EventTarget> MouseEvent::GetRelatedTarget() { return EnsureWebAccessibleRelatedTarget(relatedTarget); } void MouseEvent::GetRegion(nsAString& aRegion) { SetDOMStringToNull(aRegion); } void MouseEvent::GetRegion(nsAString& aRegion) { SetDOMStringToNull(aRegion); } CSSIntPoint MouseEvent::ScreenPoint(CallerType aCallerType) const { if (mEvent->mFlags.mIsPositionless) { Loading dom/fetch/FetchUtil.cpp +11 −9 Original line number Diff line number Diff line Loading @@ -295,11 +295,13 @@ class WorkerStreamOwner final { RefPtr<WorkerStreamOwner> self = new WorkerStreamOwner(aStream, std::move(target)); self->mWorkerRef = StrongWorkerRef::Create(aWorker, "JSStreamConsumer", [self]() { self->mWorkerRef = StrongWorkerRef::Create(aWorker, "JSStreamConsumer", [self]() { if (self->mStream) { // If this Close() calls JSStreamConsumer::OnInputStreamReady and drops // the last reference to the JSStreamConsumer, 'this' will not be // destroyed since ~JSStreamConsumer() only enqueues a release proxy. // If this Close() calls JSStreamConsumer::OnInputStreamReady and // drops the last reference to the JSStreamConsumer, 'this' will not // be destroyed since ~JSStreamConsumer() only enqueues a release // proxy. self->mStream->Close(); self->mStream = nullptr; } Loading gfx/layers/wr/WebRenderMessageUtils.h +4 −3 Original line number Diff line number Diff line Loading @@ -56,7 +56,8 @@ struct ParamTraits<mozilla::wr::ImageDescriptor> { template <> struct ParamTraits<mozilla::wr::GeckoDisplayListType::Tag> : public ContiguousEnumSerializer<mozilla::wr::GeckoDisplayListType::Tag, : public ContiguousEnumSerializer< mozilla::wr::GeckoDisplayListType::Tag, mozilla::wr::GeckoDisplayListType::Tag::None, mozilla::wr::GeckoDisplayListType::Tag::Sentinel> {}; Loading image/decoders/icon/win/nsIconChannel.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -258,7 +258,8 @@ static nsresult GetIconHandleFromPathInfo(const IconPathInfo& aPathInfo, } // Match stock icons with names static mozilla::Maybe<SHSTOCKICONID> GetStockIconIDForName(const nsACString& aStockName) { static mozilla::Maybe<SHSTOCKICONID> GetStockIconIDForName( const nsACString& aStockName) { return aStockName.EqualsLiteral("uac-shield") ? Some(SIID_SHIELD) : Nothing(); } Loading widget/windows/nsWindow.h +2 −1 Original line number Diff line number Diff line Loading @@ -608,7 +608,8 @@ class nsWindow final : public nsBaseWidget { DWORD WindowStyle(); DWORD WindowExStyle(); static const wchar_t* ChooseWindowClass(nsWindowType, bool aForMenupopupFrame); static const wchar_t* ChooseWindowClass(nsWindowType, bool aForMenupopupFrame); // This method registers the given window class, and returns the class name. static const wchar_t* RegisterWindowClass(const wchar_t* aClassName, UINT aExtraStyle, LPWSTR aIconID); Loading Loading
dom/events/MouseEvent.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -215,9 +215,7 @@ already_AddRefed<EventTarget> MouseEvent::GetRelatedTarget() { return EnsureWebAccessibleRelatedTarget(relatedTarget); } void MouseEvent::GetRegion(nsAString& aRegion) { SetDOMStringToNull(aRegion); } void MouseEvent::GetRegion(nsAString& aRegion) { SetDOMStringToNull(aRegion); } CSSIntPoint MouseEvent::ScreenPoint(CallerType aCallerType) const { if (mEvent->mFlags.mIsPositionless) { Loading
dom/fetch/FetchUtil.cpp +11 −9 Original line number Diff line number Diff line Loading @@ -295,11 +295,13 @@ class WorkerStreamOwner final { RefPtr<WorkerStreamOwner> self = new WorkerStreamOwner(aStream, std::move(target)); self->mWorkerRef = StrongWorkerRef::Create(aWorker, "JSStreamConsumer", [self]() { self->mWorkerRef = StrongWorkerRef::Create(aWorker, "JSStreamConsumer", [self]() { if (self->mStream) { // If this Close() calls JSStreamConsumer::OnInputStreamReady and drops // the last reference to the JSStreamConsumer, 'this' will not be // destroyed since ~JSStreamConsumer() only enqueues a release proxy. // If this Close() calls JSStreamConsumer::OnInputStreamReady and // drops the last reference to the JSStreamConsumer, 'this' will not // be destroyed since ~JSStreamConsumer() only enqueues a release // proxy. self->mStream->Close(); self->mStream = nullptr; } Loading
gfx/layers/wr/WebRenderMessageUtils.h +4 −3 Original line number Diff line number Diff line Loading @@ -56,7 +56,8 @@ struct ParamTraits<mozilla::wr::ImageDescriptor> { template <> struct ParamTraits<mozilla::wr::GeckoDisplayListType::Tag> : public ContiguousEnumSerializer<mozilla::wr::GeckoDisplayListType::Tag, : public ContiguousEnumSerializer< mozilla::wr::GeckoDisplayListType::Tag, mozilla::wr::GeckoDisplayListType::Tag::None, mozilla::wr::GeckoDisplayListType::Tag::Sentinel> {}; Loading
image/decoders/icon/win/nsIconChannel.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -258,7 +258,8 @@ static nsresult GetIconHandleFromPathInfo(const IconPathInfo& aPathInfo, } // Match stock icons with names static mozilla::Maybe<SHSTOCKICONID> GetStockIconIDForName(const nsACString& aStockName) { static mozilla::Maybe<SHSTOCKICONID> GetStockIconIDForName( const nsACString& aStockName) { return aStockName.EqualsLiteral("uac-shield") ? Some(SIID_SHIELD) : Nothing(); } Loading
widget/windows/nsWindow.h +2 −1 Original line number Diff line number Diff line Loading @@ -608,7 +608,8 @@ class nsWindow final : public nsBaseWidget { DWORD WindowStyle(); DWORD WindowExStyle(); static const wchar_t* ChooseWindowClass(nsWindowType, bool aForMenupopupFrame); static const wchar_t* ChooseWindowClass(nsWindowType, bool aForMenupopupFrame); // This method registers the given window class, and returns the class name. static const wchar_t* RegisterWindowClass(const wchar_t* aClassName, UINT aExtraStyle, LPWSTR aIconID); Loading