summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/Authentication/WebProtectionSpace.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/Authentication/WebProtectionSpace.h')
-rw-r--r--Source/WebKit2/UIProcess/Authentication/WebProtectionSpace.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/WebKit2/UIProcess/Authentication/WebProtectionSpace.h b/Source/WebKit2/UIProcess/Authentication/WebProtectionSpace.h
index 95ad0bb57..28beba6e8 100644
--- a/Source/WebKit2/UIProcess/Authentication/WebProtectionSpace.h
+++ b/Source/WebKit2/UIProcess/Authentication/WebProtectionSpace.h
@@ -28,15 +28,14 @@
#include "APIObject.h"
#include <WebCore/ProtectionSpace.h>
-#include <wtf/PassRefPtr.h>
namespace WebKit {
class WebProtectionSpace : public API::ObjectImpl<API::Object::Type::ProtectionSpace> {
public:
- static PassRefPtr<WebProtectionSpace> create(const WebCore::ProtectionSpace& protectionSpace)
+ static Ref<WebProtectionSpace> create(const WebCore::ProtectionSpace& protectionSpace)
{
- return adoptRef(new WebProtectionSpace(protectionSpace));
+ return adoptRef(*new WebProtectionSpace(protectionSpace));
}
const String& protocol() const;