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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/MemoryCache.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
Index: third_party/WebKit/Source/platform/loader/fetch/MemoryCache.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/MemoryCache.cpp b/third_party/WebKit/Source/platform/loader/fetch/MemoryCache.cpp
index 3fb2c7c5dd72959b5a8581cc0cff544e06140084..02406dd71a98e0fb07fb509aabfaa47485d5d64e 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/MemoryCache.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/MemoryCache.cpp
@@ -134,9 +134,9 @@ void MemoryCache::add(Resource* resource) {
DCHECK(resource);
ResourceMap* resources = ensureResourceMap(resource->cacheIdentifier());
addInternal(resources, MemoryCacheEntry::create(resource));
- RESOURCE_LOADING_DVLOG(1) << "MemoryCache::add Added "
- << resource->url().getString() << ", resource "
- << resource;
+ RESOURCE_LOADING_DVLOG(1)
+ << "MemoryCache::add Added " << resource->url().getString()
+ << ", resource " << resource;
}
void MemoryCache::addInternal(ResourceMap* resourceMap,
@@ -430,16 +430,18 @@ bool MemoryCache::onMemoryDump(WebMemoryDumpLevelOfDetail levelOfDetail,
stats.images.encodedSize + stats.images.overheadSize);
WebMemoryAllocatorDump* dump2 = memoryDump->createMemoryAllocatorDump(
"web_cache/CSS stylesheet_resources");
- dump2->addScalar("size", "bytes", stats.cssStyleSheets.encodedSize +
- stats.cssStyleSheets.overheadSize);
+ dump2->addScalar(
+ "size", "bytes",
+ stats.cssStyleSheets.encodedSize + stats.cssStyleSheets.overheadSize);
WebMemoryAllocatorDump* dump3 =
memoryDump->createMemoryAllocatorDump("web_cache/Script_resources");
dump3->addScalar("size", "bytes",
stats.scripts.encodedSize + stats.scripts.overheadSize);
WebMemoryAllocatorDump* dump4 = memoryDump->createMemoryAllocatorDump(
"web_cache/XSL stylesheet_resources");
- dump4->addScalar("size", "bytes", stats.xslStyleSheets.encodedSize +
- stats.xslStyleSheets.overheadSize);
+ dump4->addScalar(
+ "size", "bytes",
+ stats.xslStyleSheets.encodedSize + stats.xslStyleSheets.overheadSize);
WebMemoryAllocatorDump* dump5 =
memoryDump->createMemoryAllocatorDump("web_cache/Font_resources");
dump5->addScalar("size", "bytes",

Powered by Google App Engine
This is Rietveld 408576698