Index: third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp |
diff --git a/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp b/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp |
index e1a30e98422ae66f012ac7eef8638a2edbc57f8f..dd9cd831a48296bcfc0e9a741a072065df6be007 100644 |
--- a/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp |
+++ b/third_party/WebKit/Source/modules/navigatorcontentutils/testing/InternalsNavigatorContentUtils.cpp |
@@ -16,7 +16,7 @@ void InternalsNavigatorContentUtils::setNavigatorContentUtilsClientMock(Internal |
{ |
ASSERT(document && document->page()); |
NavigatorContentUtils* navigatorContentUtils = NavigatorContentUtils::from(*document->frame()); |
- navigatorContentUtils->setClientForTest(adoptPtr(new NavigatorContentUtilsClientMock())); |
+ navigatorContentUtils->setClientForTest(NavigatorContentUtilsClientMock::create()); |
} |
} // namespace blink |