Index: third_party/WebKit/Source/platform/loader/fetch/MockResourceClient.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/MockResourceClient.cpp b/third_party/WebKit/Source/platform/loader/fetch/MockResourceClient.cpp |
similarity index 87% |
rename from third_party/WebKit/Source/core/fetch/MockResourceClient.cpp |
rename to third_party/WebKit/Source/platform/loader/fetch/MockResourceClient.cpp |
index 0534cd63f1483aa777cea1eea746d8b15b66d7e1..1317d2529dcbba754fd7436bae8f03b897ba4d6a 100644 |
--- a/third_party/WebKit/Source/core/fetch/MockResourceClient.cpp |
+++ b/third_party/WebKit/Source/platform/loader/fetch/MockResourceClient.cpp |
@@ -2,9 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "core/fetch/MockResourceClient.h" |
- |
-#include "testing/gtest/include/gtest/gtest.h" |
+#include "platform/loader/fetch/MockResourceClient.h" |
namespace blink { |
@@ -18,7 +16,7 @@ MockResourceClient::MockResourceClient(Resource* resource) |
MockResourceClient::~MockResourceClient() {} |
void MockResourceClient::notifyFinished(Resource* resource) { |
- ASSERT_FALSE(m_notifyFinishedCalled); |
+ CHECK(!m_notifyFinishedCalled); |
m_notifyFinishedCalled = true; |
m_encodedSizeOnNotifyFinished = resource->encodedSize(); |
} |