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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyLengthUtils.h

Issue 2827963003: Added null safety for CSSParserContext in CSSPropertyLengthUtils. (Closed)
Patch Set: addressed review Created 3 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/properties/CSSPropertyLengthUtils.h
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyLengthUtils.h b/third_party/WebKit/Source/core/css/properties/CSSPropertyLengthUtils.h
index 4abf0da1da606c0a85255a8a3e528b0fa09cd2a5..e29fc688564d1ef38c755f886f774b48c9578968 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyLengthUtils.h
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyLengthUtils.h
@@ -19,12 +19,12 @@ class CSSPropertyLengthUtils {
static CSSValue* ConsumeMaxWidthOrHeight(
CSSParserTokenRange&,
- const CSSParserContext*,
+ const CSSParserContext&,
CSSPropertyParserHelpers::UnitlessQuirk =
CSSPropertyParserHelpers::UnitlessQuirk::kForbid);
static CSSValue* ConsumeWidthOrHeight(
CSSParserTokenRange&,
- const CSSParserContext*,
+ const CSSParserContext&,
CSSPropertyParserHelpers::UnitlessQuirk =
CSSPropertyParserHelpers::UnitlessQuirk::kForbid);
};

Powered by Google App Engine
This is Rietveld 408576698