Index: Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp |
diff --git a/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp b/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp |
index 05b2bf6c8975159118b44093d8bd4c4e88da0039..a0ca52fcf60dde5adaeec65d352a0b7e2d28c486 100644 |
--- a/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp |
+++ b/Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp |
@@ -128,7 +128,7 @@ NavigatorContentUtils::~NavigatorContentUtils() |
{ |
} |
-PassRefPtr<NavigatorContentUtils> NavigatorContentUtils::create(NavigatorContentUtilsClient* client) |
+PassRefPtr<NavigatorContentUtils> NavigatorContentUtils::create(PassOwnPtr<NavigatorContentUtilsClient> client) |
{ |
return adoptRef(new NavigatorContentUtils(client)); |
} |
@@ -216,7 +216,7 @@ const char* NavigatorContentUtils::supplementName() |
return "NavigatorContentUtils"; |
} |
-void provideNavigatorContentUtilsTo(Page& page, NavigatorContentUtilsClient* client) |
+void provideNavigatorContentUtilsTo(Page& page, PassOwnPtr<NavigatorContentUtilsClient> client) |
{ |
RefCountedSupplement<Page, NavigatorContentUtils>::provideTo(page, NavigatorContentUtils::supplementName(), NavigatorContentUtils::create(client)); |
} |