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

Unified Diff: third_party/WebKit/Source/core/css/CSSStyleRule.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/CSSStyleRule.h
diff --git a/third_party/WebKit/Source/core/css/CSSStyleRule.h b/third_party/WebKit/Source/core/css/CSSStyleRule.h
index b12ad310741729f34ef9dbd066aafa4cd9108bb0..66a6253bad21a98450fa0adfebb1d53cdf021a3f 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleRule.h
+++ b/third_party/WebKit/Source/core/css/CSSStyleRule.h
@@ -34,9 +34,9 @@ class StyleRule;
class CORE_EXPORT CSSStyleRule final : public CSSRule {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<CSSStyleRule> create(StyleRule* rule, CSSStyleSheet* sheet)
+ static RawPtr<CSSStyleRule> create(StyleRule* rule, CSSStyleSheet* sheet)
{
- return adoptRefWillBeNoop(new CSSStyleRule(rule, sheet));
+ return new CSSStyleRule(rule, sheet);
}
~CSSStyleRule() override;
@@ -61,8 +61,8 @@ private:
String generateSelectorText() const;
- RefPtrWillBeMember<StyleRule> m_styleRule;
- mutable RefPtrWillBeMember<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper;
+ Member<StyleRule> m_styleRule;
+ mutable Member<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper;
};
DEFINE_CSS_RULE_TYPE_CASTS(CSSStyleRule, STYLE_RULE);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl ('k') | third_party/WebKit/Source/core/css/CSSStyleRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698