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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitMaxLogicalWidthOrHeight.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/CSSPropertyAPIWebkitMaxLogicalWidthOrHeight.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitMaxLogicalWidthOrHeight.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitMaxLogicalWidthOrHeight.cpp
index 9013b294eb94be641452d6ad64c9fa442e00e47f..975faf43982c293e9ff9fa821efd838dcb36741e 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitMaxLogicalWidthOrHeight.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIWebkitMaxLogicalWidthOrHeight.cpp
@@ -10,8 +10,8 @@ namespace blink {
const CSSValue* CSSPropertyAPIWebkitMaxLogicalWidthOrHeight::parseSingleValue(
CSSParserTokenRange& range,
- const CSSParserContext* context) {
- return CSSPropertyLengthUtils::consumeMaxWidthOrHeight(range, context);
+ const CSSParserContext& context) {
+ return CSSPropertyLengthUtils::consumeMaxWidthOrHeight(range, &context);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698