summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/URLRegistry.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/URLRegistry.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/html/URLRegistry.h')
-rw-r--r--Source/WebCore/html/URLRegistry.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/WebCore/html/URLRegistry.h b/Source/WebCore/html/URLRegistry.h
index 72c7d69aa..6c7ca35d9 100644
--- a/Source/WebCore/html/URLRegistry.h
+++ b/Source/WebCore/html/URLRegistry.h
@@ -28,8 +28,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef URLRegistry_h
-#define URLRegistry_h
+#pragma once
#include <wtf/text/WTFString.h>
@@ -49,7 +48,7 @@ class URLRegistry {
WTF_MAKE_FAST_ALLOCATED;
public:
virtual ~URLRegistry() { }
- virtual void registerURL(SecurityOrigin*, const URL&, URLRegistrable*) = 0;
+ virtual void registerURL(SecurityOrigin*, const URL&, URLRegistrable&) = 0;
virtual void unregisterURL(const URL&) = 0;
// This is an optional API
@@ -57,5 +56,3 @@ public:
};
} // namespace WebCore
-
-#endif // URLRegistry_h