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

Unified Diff: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.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/resolver/ScopedStyleResolver.h
diff --git a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
index 6cf9c54f7433458cd1e2a65be35324134dfe85aa..adf8f4184437edcea7aec0eb4cfe8a5f897ae30a 100644
--- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
+++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
@@ -45,7 +45,7 @@ class ViewportStyleResolver;
class ScopedStyleResolver final : public GarbageCollected<ScopedStyleResolver> {
WTF_MAKE_NONCOPYABLE(ScopedStyleResolver);
public:
- static RawPtr<ScopedStyleResolver> create(TreeScope& scope)
+ static ScopedStyleResolver* create(TreeScope& scope)
{
return new ScopedStyleResolver(scope);
}
@@ -76,7 +76,7 @@ private:
void addTreeBoundaryCrossingRules(const RuleSet&, CSSStyleSheet*, unsigned sheetIndex);
void addKeyframeRules(const RuleSet&);
void addFontFaceRules(const RuleSet&);
- void addKeyframeStyle(RawPtr<StyleRuleKeyframes>);
+ void addKeyframeStyle(StyleRuleKeyframes*);
Member<TreeScope> m_scope;
@@ -87,7 +87,7 @@ private:
class RuleSubSet final : public GarbageCollected<RuleSubSet> {
public:
- static RawPtr<RuleSubSet> create(CSSStyleSheet* sheet, unsigned index, RawPtr<RuleSet> rules)
+ static RuleSubSet* create(CSSStyleSheet* sheet, unsigned index, RuleSet* rules)
{
return new RuleSubSet(sheet, index, rules);
}
@@ -99,7 +99,7 @@ private:
DECLARE_TRACE();
private:
- RuleSubSet(CSSStyleSheet* sheet, unsigned index, RawPtr<RuleSet> rules)
+ RuleSubSet(CSSStyleSheet* sheet, unsigned index, RuleSet* rules)
: m_parentStyleSheet(sheet)
, m_parentIndex(index)
, m_ruleSet(rules)

Powered by Google App Engine
This is Rietveld 408576698