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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMargin.cpp

Issue 2786153004: Changed CSSParserContext argument from * to & for null safety. (Closed)
Patch Set: Updated syntax where ref is passed as pointer Created 3 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/properties/CSSPropertyAPIMargin.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMargin.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMargin.cpp
index 06cb814d759bb501a1da98cd7a0d9435d5723d1f..9b8ec3205bd5c709806fd84cde266b881de9c7c5 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMargin.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIMargin.cpp
@@ -12,9 +12,9 @@ namespace blink {
const CSSValue* CSSPropertyAPIMargin::parseSingleValue(
CSSParserTokenRange& range,
- const CSSParserContext* context) {
+ const CSSParserContext& context) {
return CSSPropertyMarginUtils::consumeMarginOrOffset(
- range, context->mode(), CSSPropertyParserHelpers::UnitlessQuirk::Allow);
+ range, context.mode(), CSSPropertyParserHelpers::UnitlessQuirk::Allow);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698