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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParser.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/parser/CSSParser.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParser.h b/third_party/WebKit/Source/core/css/parser/CSSParser.h
index af98f80b422d4531f2cf9a1b82015c76933c8b86..341a2d585e0cd6090e6b309497432afe13312e3b 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParser.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSParser.h
@@ -29,7 +29,7 @@ class CORE_EXPORT CSSParser {
STATIC_ONLY(CSSParser);
public:
// As well as regular rules, allows @import and @namespace but not @charset
- static RawPtr<StyleRuleBase> parseRule(const CSSParserContext&, StyleSheetContents*, const String&);
+ static StyleRuleBase* parseRule(const CSSParserContext&, StyleSheetContents*, const String&);
static void parseSheet(const CSSParserContext&, StyleSheetContents*, const String&);
static CSSSelectorList parseSelector(const CSSParserContext&, StyleSheetContents*, const String&);
static CSSSelectorList parsePageSelector(const CSSParserContext&, StyleSheetContents*, const String&);
@@ -38,17 +38,17 @@ public:
static bool parseValue(MutableStylePropertySet*, CSSPropertyID unresolvedProperty, const String&, bool important, StyleSheetContents*);
static bool parseValueForCustomProperty(MutableStylePropertySet*, const AtomicString& propertyName, const String& value, bool important, StyleSheetContents*);
- static RawPtr<ImmutableStylePropertySet> parseCustomPropertySet(CSSParserTokenRange);
+ static ImmutableStylePropertySet* parseCustomPropertySet(CSSParserTokenRange);
// This is for non-shorthands only
- static RawPtr<CSSValue> parseSingleValue(CSSPropertyID, const String&, const CSSParserContext& = strictCSSParserContext());
+ static CSSValue* parseSingleValue(CSSPropertyID, const String&, const CSSParserContext& = strictCSSParserContext());
- static RawPtr<CSSValue> parseFontFaceDescriptor(CSSPropertyID, const String&, const CSSParserContext&);
+ static CSSValue* parseFontFaceDescriptor(CSSPropertyID, const String&, const CSSParserContext&);
- static RawPtr<ImmutableStylePropertySet> parseInlineStyleDeclaration(const String&, Element*);
+ static ImmutableStylePropertySet* parseInlineStyleDeclaration(const String&, Element*);
static PassOwnPtr<Vector<double>> parseKeyframeKeyList(const String&);
- static RawPtr<StyleRuleKeyframe> parseKeyframeRule(const CSSParserContext&, const String&);
+ static StyleRuleKeyframe* parseKeyframeRule(const CSSParserContext&, const String&);
static bool parseSupportsCondition(const String&);

Powered by Google App Engine
This is Rietveld 408576698