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

Unified Diff: third_party/WebKit/Source/core/css/StyleSheetContents.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/StyleSheetContents.h
diff --git a/third_party/WebKit/Source/core/css/StyleSheetContents.h b/third_party/WebKit/Source/core/css/StyleSheetContents.h
index 033fa055e4538f0c358c1d7e1d37a111874fc1a0..b98b6237b98b9bb27dce4976dc534ff18070f06b 100644
--- a/third_party/WebKit/Source/core/css/StyleSheetContents.h
+++ b/third_party/WebKit/Source/core/css/StyleSheetContents.h
@@ -48,15 +48,15 @@ class StyleRuleNamespace;
class CORE_EXPORT StyleSheetContents : public GarbageCollectedFinalized<StyleSheetContents> {
public:
- static RawPtr<StyleSheetContents> create(const CSSParserContext& context)
+ static StyleSheetContents* create(const CSSParserContext& context)
{
return new StyleSheetContents(0, String(), context);
}
- static RawPtr<StyleSheetContents> create(const String& originalURL, const CSSParserContext& context)
+ static StyleSheetContents* create(const String& originalURL, const CSSParserContext& context)
{
return new StyleSheetContents(0, originalURL, context);
}
- static RawPtr<StyleSheetContents> create(StyleRuleImport* ownerRule, const String& originalURL, const CSSParserContext& context)
+ static StyleSheetContents* create(StyleRuleImport* ownerRule, const String& originalURL, const CSSParserContext& context)
{
return new StyleSheetContents(ownerRule, originalURL, context);
}
@@ -97,7 +97,7 @@ public:
void findFontFaceRules(HeapVector<Member<const StyleRuleFontFace>>& fontFaceRules);
void parserAddNamespace(const AtomicString& prefix, const AtomicString& uri);
- void parserAppendRule(RawPtr<StyleRuleBase>);
+ void parserAppendRule(StyleRuleBase*);
void clearRules();
@@ -123,10 +123,10 @@ public:
unsigned estimatedSizeInBytes() const;
- bool wrapperInsertRule(RawPtr<StyleRuleBase>, unsigned index);
+ bool wrapperInsertRule(StyleRuleBase*, unsigned index);
bool wrapperDeleteRule(unsigned index);
- RawPtr<StyleSheetContents> copy() const
+ StyleSheetContents* copy() const
{
return new StyleSheetContents(*this);
}
« no previous file with comments | « third_party/WebKit/Source/core/css/StyleRuleNamespace.h ('k') | third_party/WebKit/Source/core/css/StyleSheetContents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698