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

Unified Diff: Source/core/svg/SVGRemoteFontFaceSource.h

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing Created 6 years, 2 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: Source/core/svg/SVGRemoteFontFaceSource.h
diff --git a/Source/core/svg/SVGRemoteFontFaceSource.h b/Source/core/svg/SVGRemoteFontFaceSource.h
deleted file mode 100644
index 8c00d27fabbb610f35ddfb30e1079e975979e6da..0000000000000000000000000000000000000000
--- a/Source/core/svg/SVGRemoteFontFaceSource.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SVGRemoteFontFaceSource_h
-#define SVGRemoteFontFaceSource_h
-
-#if ENABLE(SVG_FONTS)
-
-#include "core/css/RemoteFontFaceSource.h"
-#include "platform/heap/Handle.h"
-
-namespace blink {
-
-class SVGFontElement;
-
-class SVGRemoteFontFaceSource : public RemoteFontFaceSource {
-public:
- SVGRemoteFontFaceSource(const String& uri, FontResource*, PassRefPtrWillBeRawPtr<FontLoader>);
- ~SVGRemoteFontFaceSource();
- virtual bool isSVGFontFaceSource() const override { return true; }
- virtual bool ensureFontData() override;
-
- virtual void trace(Visitor*) override;
-
-private:
- virtual PassRefPtr<SimpleFontData> createFontData(const FontDescription&) override;
-
- String m_uri;
- RefPtrWillBeMember<SVGFontElement> m_externalSVGFontElement;
-};
-
-} // namespace blink
-
-#endif // ENABLE(SVG_FONTS)
-#endif

Powered by Google App Engine
This is Rietveld 408576698