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

Unified Diff: third_party/WebKit/Source/core/css/CSSKeyframesRule.h

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/css/CSSKeyframesRule.h
diff --git a/third_party/WebKit/Source/core/css/CSSKeyframesRule.h b/third_party/WebKit/Source/core/css/CSSKeyframesRule.h
index b723248e1e9a74807a3a0109a457664d1d3348e9..d8ec8072b7ad1be12f0e299961e0ff73087f7354 100644
--- a/third_party/WebKit/Source/core/css/CSSKeyframesRule.h
+++ b/third_party/WebKit/Source/core/css/CSSKeyframesRule.h
@@ -39,14 +39,14 @@ class StyleRuleKeyframe;
class StyleRuleKeyframes final : public StyleRuleBase {
public:
- static RawPtr<StyleRuleKeyframes> create() { return new StyleRuleKeyframes(); }
+ static StyleRuleKeyframes* create() { return new StyleRuleKeyframes(); }
~StyleRuleKeyframes();
const HeapVector<Member<StyleRuleKeyframe>>& keyframes() const { return m_keyframes; }
- void parserAppendKeyframe(RawPtr<StyleRuleKeyframe>);
- void wrapperAppendKeyframe(RawPtr<StyleRuleKeyframe>);
+ void parserAppendKeyframe(StyleRuleKeyframe*);
+ void wrapperAppendKeyframe(StyleRuleKeyframe*);
void wrapperRemoveKeyframe(unsigned);
String name() const { return m_name; }
@@ -57,7 +57,7 @@ public:
int findKeyframeIndex(const String& key) const;
- RawPtr<StyleRuleKeyframes> copy() const { return new StyleRuleKeyframes(*this); }
+ StyleRuleKeyframes* copy() const { return new StyleRuleKeyframes(*this); }
DECLARE_TRACE_AFTER_DISPATCH();
@@ -79,7 +79,7 @@ DEFINE_STYLE_RULE_TYPE_CASTS(Keyframes);
class CSSKeyframesRule final : public CSSRule {
DEFINE_WRAPPERTYPEINFO();
public:
- static RawPtr<CSSKeyframesRule> create(StyleRuleKeyframes* rule, CSSStyleSheet* sheet)
+ static CSSKeyframesRule* create(StyleRuleKeyframes* rule, CSSStyleSheet* sheet)
{
return new CSSKeyframesRule(rule, sheet);
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSInitialValue.h ('k') | third_party/WebKit/Source/core/css/CSSKeyframesRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698