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

Unified Diff: third_party/WebKit/Source/platform/fonts/Font.h

Issue 2718043003: Refactor InspectorCSSAgent to avoid an intermediate GlyphBuffer (Closed)
Patch Set: cleanup 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/fonts/Font.h
diff --git a/third_party/WebKit/Source/platform/fonts/Font.h b/third_party/WebKit/Source/platform/fonts/Font.h
index 8ba2ca3df48a1407c5d73e7f073a06db3692ac6f..6afe0428eae3c7ec37283110480bb1cb37b2a129 100644
--- a/third_party/WebKit/Source/platform/fonts/Font.h
+++ b/third_party/WebKit/Source/platform/fonts/Font.h
@@ -208,9 +208,8 @@ class PLATFORM_EXPORT Font {
mutable unsigned m_canShapeWordByWord : 1;
mutable unsigned m_shapeWordByWordComputed : 1;
- // For accessing buildGlyphBuffer and retrieving fonts used in rendering a
- // node.
- friend class InspectorCSSAgent;
+ // For m_fontDescription & m_fontFallbackList access.
+ friend class CachingWordShaper;
};
inline Font::~Font() {}
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp ('k') | third_party/WebKit/Source/platform/fonts/Font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698