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

Unified Diff: third_party/WebKit/Source/core/fetch/FontResource.h

Issue 2533503002: Report decoded webfont blob size to memory-infra (Closed)
Patch Set: Created 4 years, 1 month 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/FontResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/fetch/FontResource.h
diff --git a/third_party/WebKit/Source/core/fetch/FontResource.h b/third_party/WebKit/Source/core/fetch/FontResource.h
index 1a4d0ae51db8b44ffbf66354e00057ec4709b2b3..2e1fffa3b97e4657d72b4d00d4d680a358a998e6 100644
--- a/third_party/WebKit/Source/core/fetch/FontResource.h
+++ b/third_party/WebKit/Source/core/fetch/FontResource.h
@@ -72,6 +72,9 @@ class CORE_EXPORT FontResource final : public Resource {
// font is not needed for painting the text.
bool isLowPriorityLoadingAllowedForRemoteFont() const;
+ void onMemoryDump(WebMemoryDumpLevelOfDetail,
+ WebProcessMemoryDump*) const override;
+
private:
class FontResourceFactory : public ResourceFactory {
public:
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/FontResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698