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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 4f7799e284ed451dbbcaf10f7b0e6552a51ef705..b723248e1e9a74807a3a0109a457664d1d3348e9 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 PassRefPtrWillBeRawPtr<StyleRuleKeyframes> create() { return adoptRefWillBeNoop(new StyleRuleKeyframes()); }
+ static RawPtr<StyleRuleKeyframes> create() { return new StyleRuleKeyframes(); }
~StyleRuleKeyframes();
- const WillBeHeapVector<RefPtrWillBeMember<StyleRuleKeyframe>>& keyframes() const { return m_keyframes; }
+ const HeapVector<Member<StyleRuleKeyframe>>& keyframes() const { return m_keyframes; }
- void parserAppendKeyframe(PassRefPtrWillBeRawPtr<StyleRuleKeyframe>);
- void wrapperAppendKeyframe(PassRefPtrWillBeRawPtr<StyleRuleKeyframe>);
+ void parserAppendKeyframe(RawPtr<StyleRuleKeyframe>);
+ void wrapperAppendKeyframe(RawPtr<StyleRuleKeyframe>);
void wrapperRemoveKeyframe(unsigned);
String name() const { return m_name; }
@@ -57,7 +57,7 @@ public:
int findKeyframeIndex(const String& key) const;
- PassRefPtrWillBeRawPtr<StyleRuleKeyframes> copy() const { return adoptRefWillBeNoop(new StyleRuleKeyframes(*this)); }
+ RawPtr<StyleRuleKeyframes> copy() const { return new StyleRuleKeyframes(*this); }
DECLARE_TRACE_AFTER_DISPATCH();
@@ -68,7 +68,7 @@ private:
StyleRuleKeyframes();
explicit StyleRuleKeyframes(const StyleRuleKeyframes&);
- WillBeHeapVector<RefPtrWillBeMember<StyleRuleKeyframe>> m_keyframes;
+ HeapVector<Member<StyleRuleKeyframe>> m_keyframes;
AtomicString m_name;
unsigned m_version : 31;
unsigned m_isPrefixed : 1;
@@ -79,9 +79,9 @@ DEFINE_STYLE_RULE_TYPE_CASTS(Keyframes);
class CSSKeyframesRule final : public CSSRule {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<CSSKeyframesRule> create(StyleRuleKeyframes* rule, CSSStyleSheet* sheet)
+ static RawPtr<CSSKeyframesRule> create(StyleRuleKeyframes* rule, CSSStyleSheet* sheet)
{
- return adoptRefWillBeNoop(new CSSKeyframesRule(rule, sheet));
+ return new CSSKeyframesRule(rule, sheet);
}
~CSSKeyframesRule() override;
@@ -117,9 +117,9 @@ private:
CSSRule::Type type() const override { return KEYFRAMES_RULE; }
- RefPtrWillBeMember<StyleRuleKeyframes> m_keyframesRule;
- mutable WillBeHeapVector<RefPtrWillBeMember<CSSKeyframeRule>> m_childRuleCSSOMWrappers;
- mutable OwnPtrWillBeMember<CSSRuleList> m_ruleListCSSOMWrapper;
+ Member<StyleRuleKeyframes> m_keyframesRule;
+ mutable HeapVector<Member<CSSKeyframeRule>> m_childRuleCSSOMWrappers;
+ mutable Member<CSSRuleList> m_ruleListCSSOMWrapper;
bool m_isPrefixed;
};
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSKeyframeRule.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