Index: Source/core/rendering/ClipPathOperation.h |
diff --git a/Source/core/rendering/ClipPathOperation.h b/Source/core/rendering/ClipPathOperation.h |
index b6d9c0b8db407ea06aa0bba7975fa2785c209c70..171634dd23dc037bf4bff2047f9a5dd64792a94b 100644 |
--- a/Source/core/rendering/ClipPathOperation.h |
+++ b/Source/core/rendering/ClipPathOperation.h |
@@ -65,13 +65,13 @@ protected: |
class ReferenceClipPathOperation : public ClipPathOperation { |
public: |
- static PassRefPtr<ReferenceClipPathOperation> create(const String& url, const String& fragment) |
+ static PassRefPtr<ReferenceClipPathOperation> create(const String& url, const AtomicString& fragment) |
{ |
return adoptRef(new ReferenceClipPathOperation(url, fragment)); |
} |
const String& url() const { return m_url; } |
- const String& fragment() const { return m_fragment; } |
+ const AtomicString& fragment() const { return m_fragment; } |
private: |
virtual bool operator==(const ClipPathOperation& o) const OVERRIDE |
@@ -79,7 +79,7 @@ private: |
return isSameType(o) && m_url == static_cast<const ReferenceClipPathOperation&>(o).m_url; |
} |
- ReferenceClipPathOperation(const String& url, const String& fragment) |
+ ReferenceClipPathOperation(const String& url, const AtomicString& fragment) |
: ClipPathOperation(REFERENCE) |
, m_url(url) |
, m_fragment(fragment) |
@@ -87,7 +87,7 @@ private: |
} |
String m_url; |
- String m_fragment; |
+ AtomicString m_fragment; |
}; |
DEFINE_TYPE_CASTS(ReferenceClipPathOperation, ClipPathOperation, op, op->type() == ClipPathOperation::REFERENCE, op.type() == ClipPathOperation::REFERENCE); |