Chromium Code Reviews| Index: third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp |
| diff --git a/third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp b/third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp |
| index bcb59f4d19f6523ba1a2570ff293250865609682..73eb908f42a966d926355d4968300aef9fe5e6ad 100644 |
| --- a/third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp |
| +++ b/third_party/WebKit/Source/modules/notifications/NotificationImageLoaderTest.cpp |
| @@ -35,7 +35,9 @@ class NotificationImageLoaderTest : public ::testing::Test { |
| public: |
| NotificationImageLoaderTest() |
| : m_page(DummyPageHolder::create()), |
| - m_loader(new NotificationImageLoader()) {} |
| + // The type is only for UMA, so not interesting to test. |
| + m_loader( |
| + new NotificationImageLoader(NotificationImageLoader::Type::Icon)) {} |
|
Peter Beverloo
2016/11/30 17:44:02
ISTM that testing that the right histogram is used
johnme
2016/11/30 19:08:36
Done.
|
| ~NotificationImageLoaderTest() override { |
| m_loader->stop(); |