Index: third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp |
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp |
index 5159d4ec955ce15bebeaab04347537380cd8993b..94146e74d6d7a6a68d2d5e933d6256745f620a2c 100644 |
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp |
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceFetcherTest.cpp |
@@ -173,7 +173,8 @@ TEST_F(ResourceFetcherTest, NavigationTimingInfo) { |
resource->responseReceived(response, nullptr); |
EXPECT_EQ(resource->getType(), Resource::MainResource); |
- ResourceTimingInfo* navigationTimingInfo = fetcher->getNavigationTimingInfo(); |
+ std::unique_ptr<ResourceTimingInfo> navigationTimingInfo = |
+ fetcher->getNavigationTimingInfo(); |
ASSERT_TRUE(navigationTimingInfo); |
long long encodedDataLength = 123; |
resource->loader()->didFinishLoading(0.0, encodedDataLength, 0); |