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

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

Issue 2878383002: Added null safety for CSSParserContext in CSSPropertyShapeUtils. (Closed)
Patch Set: Created 3 years, 7 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/CSSPropertyAPIShapeOutside.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIShapeOutside.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIShapeOutside.cpp
index 3b9d196be9c20a9206d3226c5687eb1c2cf041e2..c71e79e0cfd61e9c30d24674a3792ccd034760a1 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIShapeOutside.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIShapeOutside.cpp
@@ -23,7 +23,7 @@ const CSSValue* CSSPropertyAPIShapeOutside::parseSingleValue(
if (CSSValue* box_value = ConsumeShapeBox(range))
list->Append(*box_value);
if (CSSValue* shape_value =
- CSSPropertyShapeUtils::ConsumeBasicShape(range, &context)) {
+ CSSPropertyShapeUtils::ConsumeBasicShape(range, context)) {
list->Append(*shape_value);
if (list->length() < 2) {
if (CSSValue* box_value = ConsumeShapeBox(range))

Powered by Google App Engine
This is Rietveld 408576698