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

Unified Diff: Source/platform/graphics/filters/FilterOperation.h

Issue 121173004: Make calls to AtomicString(const String&) explicit in svg/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take feedback into consideration Created 6 years, 12 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/animation/SVGSMILElement.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/filters/FilterOperation.h
diff --git a/Source/platform/graphics/filters/FilterOperation.h b/Source/platform/graphics/filters/FilterOperation.h
index ddc69dd3ddefb8dddc1494b123c1396217a1d28f..e5a3ead21727727ef9e5e11d33274bf835439dc5 100644
--- a/Source/platform/graphics/filters/FilterOperation.h
+++ b/Source/platform/graphics/filters/FilterOperation.h
@@ -115,7 +115,7 @@ private:
class PLATFORM_EXPORT ReferenceFilterOperation : public FilterOperation {
public:
- static PassRefPtr<ReferenceFilterOperation> create(const String& url, const String& fragment)
+ static PassRefPtr<ReferenceFilterOperation> create(const String& url, const AtomicString& fragment)
{
return adoptRef(new ReferenceFilterOperation(url, fragment));
}
@@ -124,7 +124,7 @@ public:
virtual bool movesPixels() const { return true; }
const String& url() const { return m_url; }
- const String& fragment() const { return m_fragment; }
+ const AtomicString& fragment() const { return m_fragment; }
ReferenceFilter* filter() const { return m_filter.get(); }
void setFilter(PassRefPtr<ReferenceFilter> filter) { m_filter = filter; }
@@ -144,7 +144,7 @@ private:
return m_url == other->m_url;
}
- ReferenceFilterOperation(const String& url, const String& fragment)
+ ReferenceFilterOperation(const String& url, const AtomicString& fragment)
: FilterOperation(REFERENCE)
, m_url(url)
, m_fragment(fragment)
@@ -152,7 +152,7 @@ private:
}
String m_url;
- String m_fragment;
+ AtomicString m_fragment;
RefPtr<ReferenceFilter> m_filter;
};
« no previous file with comments | « Source/core/svg/animation/SVGSMILElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698