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

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

Issue 2884053002: Add FontFaceSource interface and make it available on Document (Closed)
Patch Set: Created 3 years, 7 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/FontFaceSource.h
diff --git a/third_party/WebKit/Source/core/css/DocumentFontFaceSet.h b/third_party/WebKit/Source/core/css/FontFaceSource.h
similarity index 91%
rename from third_party/WebKit/Source/core/css/DocumentFontFaceSet.h
rename to third_party/WebKit/Source/core/css/FontFaceSource.h
index ea2176a300a7a291348b9c576677bbc31a9a1471..0695475dd150a92df41bdf50a6c01890ec3c7fea 100644
--- a/third_party/WebKit/Source/core/css/DocumentFontFaceSet.h
+++ b/third_party/WebKit/Source/core/css/FontFaceSource.h
@@ -23,8 +23,8 @@
* DAMAGE.
*/
-#ifndef DocumentFontFaceSet_h
-#define DocumentFontFaceSet_h
+#ifndef FontFaceSource_h
+#define FontFaceSource_h
#include "platform/heap/Handle.h"
#include "platform/wtf/Allocator.h"
@@ -35,8 +35,8 @@ namespace blink {
class Document;
class FontFaceSet;
-class DocumentFontFaceSet {
- STATIC_ONLY(DocumentFontFaceSet);
+class FontFaceSource {
+ STATIC_ONLY(FontFaceSource);
public:
static FontFaceSet* fonts(Document&);
@@ -44,4 +44,4 @@ class DocumentFontFaceSet {
} // namespace blink
-#endif // DocumentFontFaceSet_h
+#endif // FontFaceSource_h

Powered by Google App Engine
This is Rietveld 408576698