Index: Source/core/dom/CustomElement.h |
diff --git a/Source/core/dom/CustomElement.h b/Source/core/dom/CustomElement.h |
index 07ba3c0af11e253247cea6adb27f49a681e2c98f..3e66512558e6014e4362daf63c04e67259606b95 100644 |
--- a/Source/core/dom/CustomElement.h |
+++ b/Source/core/dom/CustomElement.h |
@@ -64,8 +64,8 @@ public: |
static void didFinishParsingChildren(Element*); |
static void attributeDidChange(Element*, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue); |
- static void didEnterDocument(Element*, Document*); |
- static void didLeaveDocument(Element*, Document*); |
+ static void didEnterDocument(Element*, const Document&); |
+ static void didLeaveDocument(Element*, const Document&); |
static void wasDestroyed(Element*); |
private: |