Chromium Code Reviews| Index: Source/core/css/CSSFontFaceSrcValue.h |
| diff --git a/Source/core/css/CSSFontFaceSrcValue.h b/Source/core/css/CSSFontFaceSrcValue.h |
| index da0c7f32975fabf9ce01243e14fb46266372d8a1..a953f76a3cf499189ab1dbe70c829a493b5d2cf5 100644 |
| --- a/Source/core/css/CSSFontFaceSrcValue.h |
| +++ b/Source/core/css/CSSFontFaceSrcValue.h |
| @@ -73,7 +73,7 @@ public: |
| bool equals(const CSSFontFaceSrcValue&) const; |
| - void traceAfterDispatch(Visitor* visitor) { CSSValue::traceAfterDispatch(visitor); } |
| + void traceAfterDispatch(Visitor*); |
| private: |
| CSSFontFaceSrcValue(const String& resource, bool local) |
| @@ -81,7 +81,7 @@ private: |
| , m_resource(resource) |
| , m_isLocal(local) |
| #if ENABLE(SVG_FONTS) |
| - , m_svgFontFaceElement(0) |
| + , m_svgFontFaceElement(nullptr) |
| #endif |
| { |
| } |
| @@ -97,7 +97,7 @@ private: |
| ResourcePtr<FontResource> m_fetched; |
| #if ENABLE(SVG_FONTS) |
| - SVGFontFaceElement* m_svgFontFaceElement; |
| + RawPtrWillBeMember<SVGFontFaceElement> m_svgFontFaceElement; |
|
tkent
2014/07/28 23:31:58
This will leak a Document.
See https://codereview.
|
| #endif |
| }; |