summaryrefslogtreecommitdiffstats
path: root/src/core/certificate_error_controller.cpp
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-08-07 10:49:22 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-08-14 16:34:53 +0200
commitcf830e3122c94e429321f43ddc81b860bd223a72 (patch)
tree0d5718e3367e236754cc8c8e89376fa26a85760a /src/core/certificate_error_controller.cpp
parentc7a10dd8b0426a84205958a3f832a36fd35e24ca (diff)
Cleanup namespace issues in core
Change-Id: Ifdffc556278fa5d133da1896600a71248662e9fa Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/certificate_error_controller.cpp')
-rw-r--r--src/core/certificate_error_controller.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/certificate_error_controller.cpp b/src/core/certificate_error_controller.cpp
index 7fa54bf5d..f13ece1bc 100644
--- a/src/core/certificate_error_controller.cpp
+++ b/src/core/certificate_error_controller.cpp
@@ -47,9 +47,7 @@
#include "components/strings/grit/components_strings.h"
#include "type_conversion.h"
-QT_BEGIN_NAMESPACE
-
-using namespace QtWebEngineCore;
+namespace QtWebEngineCore {
ASSERT_ENUMS_MATCH(CertificateErrorController::SslPinnedKeyNotInCertificateChain, net::ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN)
ASSERT_ENUMS_MATCH(CertificateErrorController::CertificateCommonNameInvalid, net::ERR_CERT_BEGIN)
@@ -221,4 +219,4 @@ QList<QSslCertificate> CertificateErrorController::certificateChain() const
return m_certificateChain;
}
-QT_END_NAMESPACE
+}