diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/notifications/notification_resources_loader_test.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/notifications/notification_resources_loader_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/modules/notifications/notification_resources_loader_test.cc b/chromium/third_party/blink/renderer/modules/notifications/notification_resources_loader_test.cc index 860dcad26ad..bafa9876a47 100644 --- a/chromium/third_party/blink/renderer/modules/notifications/notification_resources_loader_test.cc +++ b/chromium/third_party/blink/renderer/modules/notifications/notification_resources_loader_test.cc @@ -34,7 +34,7 @@ constexpr char kResourcesLoaderIcon3000x2000[] = "3000x2000.png"; class NotificationResourcesLoaderTest : public PageTestBase { public: NotificationResourcesLoaderTest() - : loader_(new NotificationResourcesLoader( + : loader_(MakeGarbageCollected<NotificationResourcesLoader>( Bind(&NotificationResourcesLoaderTest::DidFetchResources, WTF::Unretained(this)))) {} @@ -62,7 +62,7 @@ class NotificationResourcesLoaderTest : public PageTestBase { // Registers a mocked url. When fetched, |fileName| will be loaded from the // test data directory. KURL RegisterMockedURL(const String& file_name) { - KURL registered_url = URLTestHelpers::RegisterMockedURLLoadFromBase( + KURL registered_url = url_test_helpers::RegisterMockedURLLoadFromBase( kResourcesLoaderBaseUrl, test::CoreTestDataPath(kResourcesLoaderBaseDir), file_name, "image/png"); @@ -72,7 +72,7 @@ class NotificationResourcesLoaderTest : public PageTestBase { // Registers a mocked url that will fail to be fetched, with a 404 error. KURL RegisterMockedErrorURL(const String& file_name) { KURL url(kResourcesLoaderBaseUrl + file_name); - URLTestHelpers::RegisterMockedErrorURLLoad(url); + url_test_helpers::RegisterMockedErrorURLLoad(url); return url; } |