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

Unified Diff: Source/core/svg/SVGFontFaceSource.cpp

Issue 216563002: [SVG Fonts] Fix <font-face> element leak document (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 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
« no previous file with comments | « Source/core/svg/SVGFontFaceSource.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFontFaceSource.cpp
diff --git a/Source/core/svg/SVGFontFaceSource.cpp b/Source/core/svg/SVGFontFaceSource.cpp
index ccacb8c6ac0d36e13e5e019df2ae07771e58633d..2c2a979982af9c411afe3bd806da8079b7d7b66e 100644
--- a/Source/core/svg/SVGFontFaceSource.cpp
+++ b/Source/core/svg/SVGFontFaceSource.cpp
@@ -14,7 +14,7 @@
namespace WebCore {
-SVGFontFaceSource::SVGFontFaceSource(PassRefPtr<SVGFontFaceElement> element)
+SVGFontFaceSource::SVGFontFaceSource(SVGFontFaceElement* element)
: m_svgFontFaceElement(element)
{
}
@@ -22,7 +22,7 @@ SVGFontFaceSource::SVGFontFaceSource(PassRefPtr<SVGFontFaceElement> element)
PassRefPtr<SimpleFontData> SVGFontFaceSource::createFontData(const FontDescription& fontDescription)
{
return SimpleFontData::create(
- SVGFontData::create(m_svgFontFaceElement.get()),
+ SVGFontData::create(m_svgFontFaceElement),
fontDescription.effectiveFontSize(),
fontDescription.isSyntheticBold(),
fontDescription.isSyntheticItalic());
« no previous file with comments | « Source/core/svg/SVGFontFaceSource.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698