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

Unified Diff: third_party/WebKit/Source/core/css/CSSFontSelector.h

Issue 1829403002: Clean up font loading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Resource_status
Patch Set: Created 4 years, 8 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/core/css/CSSFontSelector.h
diff --git a/third_party/WebKit/Source/core/css/CSSFontSelector.h b/third_party/WebKit/Source/core/css/CSSFontSelector.h
index 6e169b2b5b4fc01b8873129bc350190d3a41a8f6..8312ecf4d358da7f6b8a91b1074a96677ded53ea 100644
--- a/third_party/WebKit/Source/core/css/CSSFontSelector.h
+++ b/third_party/WebKit/Source/core/css/CSSFontSelector.h
@@ -28,7 +28,6 @@
#include "core/CoreExport.h"
#include "core/css/FontFaceCache.h"
-#include "core/css/FontLoader.h"
#include "platform/fonts/FontSelector.h"
#include "platform/fonts/GenericFontFamilySettings.h"
#include "platform/heap/Handle.h"
@@ -73,7 +72,6 @@ public:
Document* document() const { return m_document; }
FontFaceCache* fontFaceCache() { return &m_fontFaceCache; }
- FontLoader* fontLoader() { return m_fontLoader.get(); }
const GenericFontFamilySettings& genericFontFamilySettings() const { return m_genericFontFamilySettings; }
void updateGenericFontFamilySettings(Document&);
@@ -93,8 +91,6 @@ private:
// FIXME: Move to Document or StyleEngine.
FontFaceCache m_fontFaceCache;
HeapHashSet<WeakMember<CSSFontSelectorClient>> m_clients;
-
- Member<FontLoader> m_fontLoader;
GenericFontFamilySettings m_genericFontFamilySettings;
};

Powered by Google App Engine
This is Rietveld 408576698