[M120 Migration][VD] Fix url crash in RequestCertificateConfirm
[platform/framework/web/chromium-efl.git] / dbus / scoped_dbus_error.cc
1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "dbus/scoped_dbus_error.h"
6
7 namespace dbus::internal {
8
9 ScopedDBusError::ScopedDBusError() {
10   dbus_error_init(&error_);
11 }
12
13 ScopedDBusError::~ScopedDBusError() {
14   dbus_error_free(&error_);
15 }
16
17 bool ScopedDBusError::is_set() const {
18   return dbus_error_is_set(&error_);
19 }
20
21 }  // namespace dbus::internal