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

Unified Diff: third_party/WebKit/Source/core/css/RuleSet.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/RuleSet.h
diff --git a/third_party/WebKit/Source/core/css/RuleSet.h b/third_party/WebKit/Source/core/css/RuleSet.h
index 6690dcd8c700cff262025c881d892b260a9c0003..61342055f42ca59aa8e321c4f0d4d9fc4ba33243 100644
--- a/third_party/WebKit/Source/core/css/RuleSet.h
+++ b/third_party/WebKit/Source/core/css/RuleSet.h
@@ -122,7 +122,7 @@ static_assert(sizeof(RuleData) == sizeof(SameSizeAsRuleData), "RuleData should s
class CORE_EXPORT RuleSet : public GarbageCollectedFinalized<RuleSet> {
WTF_MAKE_NONCOPYABLE(RuleSet);
public:
- static RawPtr<RuleSet> create() { return new RuleSet; }
+ static RuleSet* create() { return new RuleSet; }
void addRulesFromSheet(StyleSheetContents*, const MediaQueryEvaluator&, AddRuleFlags = RuleHasNoSpecialState);
void addStyleRule(StyleRule*, AddRuleFlags);
@@ -187,7 +187,7 @@ private:
class PendingRuleMaps : public GarbageCollected<PendingRuleMaps> {
public:
- static RawPtr<PendingRuleMaps> create() { return new PendingRuleMaps; }
+ static PendingRuleMaps* create() { return new PendingRuleMaps; }
PendingRuleMap idRules;
PendingRuleMap classRules;
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleFeatureSetTest.cpp ('k') | third_party/WebKit/Source/core/css/RuleSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698