summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/URLRegistry.h
diff options
context:
space:
mode:
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