Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: third_party/WebKit/Source/core/fetch/RawResource.cpp

Issue 2164553002: Refactoring: Hide or remove some methods of Resource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (rebase) Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/Resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/RawResource.cpp
diff --git a/third_party/WebKit/Source/core/fetch/RawResource.cpp b/third_party/WebKit/Source/core/fetch/RawResource.cpp
index 2e40680121b752053b69c64fcf097d765a8f617e..d817be79df859cf44bc234d9e9b669e94e9db96a 100644
--- a/third_party/WebKit/Source/core/fetch/RawResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/RawResource.cpp
@@ -149,7 +149,7 @@ void RawResource::responseReceived(const ResourceResponse& response, std::unique
Resource::responseReceived(response, nullptr);
ResourceClientWalker<RawResourceClient> w(clients());
- ASSERT(count() <= 1 || !handle);
+ DCHECK(clients().size() <= 1 || !handle);
while (RawResourceClient* c = w.next()) {
// |handle| is cleared when passed, but it's not a problem because
// |handle| is null when there are two or more clients, as asserted.
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/Resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698