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

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

Issue 2801893003: Revert of Changed CSSParserContext argument from * to & for null safety. (Closed)
Patch Set: 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/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 f03b3597ba8c94b6948cc2bb7039d60745e116e7..7c6c7ad4ea432a97fe524dc6a355bca2db261aab 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIShapeOutside.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIShapeOutside.cpp
@@ -15,14 +15,14 @@
const CSSValue* CSSPropertyAPIShapeOutside::parseSingleValue(
CSSParserTokenRange& range,
- const CSSParserContext& context) {
- if (CSSValue* imageValue = consumeImageOrNone(range, &context))
+ const CSSParserContext* context) {
+ if (CSSValue* imageValue = consumeImageOrNone(range, context))
return imageValue;
CSSValueList* list = CSSValueList::createSpaceSeparated();
if (CSSValue* boxValue = consumeShapeBox(range))
list->append(*boxValue);
if (CSSValue* shapeValue =
- CSSPropertyShapeUtils::consumeBasicShape(range, &context)) {
+ CSSPropertyShapeUtils::consumeBasicShape(range, context)) {
list->append(*shapeValue);
if (list->length() < 2) {
if (CSSValue* boxValue = consumeShapeBox(range))

Powered by Google App Engine
This is Rietveld 408576698