Index: Source/core/html/imports/HTMLImportsController.cpp |
diff --git a/Source/core/html/imports/HTMLImportsController.cpp b/Source/core/html/imports/HTMLImportsController.cpp |
index 1b2eaa737a6d72ec27f493ecc3c35dc2b131ee8c..b91285c24c8785e8811f343b726a9c920fe0f23e 100644 |
--- a/Source/core/html/imports/HTMLImportsController.cpp |
+++ b/Source/core/html/imports/HTMLImportsController.cpp |
@@ -38,16 +38,16 @@ |
namespace WebCore { |
-void HTMLImportsController::provideTo(Document* master) |
+void HTMLImportsController::provideTo(Document& master) |
{ |
DEFINE_STATIC_LOCAL(const char*, name, ("HTMLImportsController")); |
OwnPtr<HTMLImportsController> controller = adoptPtr(new HTMLImportsController(master)); |
- master->setImport(controller.get()); |
+ master.setImport(controller.get()); |
DocumentSupplement::provideTo(master, name, controller.release()); |
} |
-HTMLImportsController::HTMLImportsController(Document* master) |
- : m_master(master) |
+HTMLImportsController::HTMLImportsController(Document& master) |
+ : m_master(&master) |
, m_recalcTimer(this, &HTMLImportsController::recalcTimerFired) |
{ |
recalcTreeState(this); // This recomputes initial state. |