Index: third_party/WebKit/Source/core/fetch/RawResourceTest.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/RawResourceTest.cpp b/third_party/WebKit/Source/core/fetch/RawResourceTest.cpp |
index bd233a640256039f2349318284815ca6029b4a8e..6894e8285c524d8c6b6deaf9253ed2b2e167580c 100644 |
--- a/third_party/WebKit/Source/core/fetch/RawResourceTest.cpp |
+++ b/third_party/WebKit/Source/core/fetch/RawResourceTest.cpp |
@@ -75,9 +75,10 @@ public: |
m_data.append(data, length); |
} |
- void redirectReceived(Resource*, ResourceRequest&, const ResourceResponse&) override |
+ bool redirectReceived(Resource*, const ResourceRequest&, const ResourceResponse&) override |
{ |
++m_numberOfRedirectsReceived; |
+ return true; |
} |
bool called() { return m_called; } |