void-packages/srcpkgs/chromium/patches/chromium-106-AutofillPopupC...

27 lines
1.1 KiB
Diff

From 65d31137fc8256627daab9d7c91074fca70b5882 Mon Sep 17 00:00:00 2001
From: Stephan Hartmann <stha09@googlemail.com>
Date: Sun, 21 Aug 2022 10:27:08 +0000
Subject: [PATCH] libstdc++: add namespace for nullptr_t in
AutofillPopupControllerImpl
---
chrome/browser/ui/autofill/autofill_popup_controller_impl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
index 295a104..54bfa4f 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
@@ -178,7 +178,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController {
class AutofillPopupViewPtr {
public:
AutofillPopupViewPtr() = default;
- AutofillPopupViewPtr(nullptr_t) : ptr_(nullptr) {}
+ AutofillPopupViewPtr(std::nullptr_t) : ptr_(nullptr) {}
AutofillPopupViewPtr(AutofillPopupView* ptr) : ptr_(ptr) {}
explicit operator bool() const { return ptr_; }
--
2.35.1