| Index: sky/engine/core/css/parser/CSSPropertyParser.cpp
|
| diff --git a/sky/engine/core/css/parser/CSSPropertyParser.cpp b/sky/engine/core/css/parser/CSSPropertyParser.cpp
|
| index bf5963cf3ffcd12624c69296a18e5f1846e14f2d..c721d628c49b77fba7ce489c41a12730637e641c 100644
|
| --- a/sky/engine/core/css/parser/CSSPropertyParser.cpp
|
| +++ b/sky/engine/core/css/parser/CSSPropertyParser.cpp
|
| @@ -35,7 +35,6 @@
|
| #include "sky/engine/core/css/CSSAspectRatioValue.h"
|
| #include "sky/engine/core/css/CSSBasicShapes.h"
|
| #include "sky/engine/core/css/CSSBorderImage.h"
|
| -#include "sky/engine/core/css/CSSCanvasValue.h"
|
| #include "sky/engine/core/css/CSSCrossfadeValue.h"
|
| #include "sky/engine/core/css/CSSCursorImageValue.h"
|
| #include "sky/engine/core/css/CSSFontFaceSrcValue.h"
|
| @@ -5231,9 +5230,6 @@ bool CSSPropertyParser::parseGeneratedImage(CSSParserValueList* valueList, RefPt
|
| if (equalIgnoringCase(val->function->name, "repeating-radial-gradient("))
|
| return parseRadialGradient(valueList, value, Repeating);
|
|
|
| - if (equalIgnoringCase(val->function->name, "-webkit-canvas("))
|
| - return parseCanvas(valueList, value);
|
| -
|
| if (equalIgnoringCase(val->function->name, "-webkit-cross-fade("))
|
| return parseCrossfade(valueList, value);
|
|
|
| @@ -5286,22 +5282,6 @@ bool CSSPropertyParser::parseCrossfade(CSSParserValueList* valueList, RefPtr<CSS
|
| return true;
|
| }
|
|
|
| -bool CSSPropertyParser::parseCanvas(CSSParserValueList* valueList, RefPtr<CSSValue>& canvas)
|
| -{
|
| - // Walk the arguments.
|
| - CSSParserValueList* args = valueList->current()->function->args.get();
|
| - if (!args || args->size() != 1)
|
| - return false;
|
| -
|
| - // The first argument is the canvas name. It is an identifier.
|
| - CSSParserValue* value = args->current();
|
| - if (!value || value->unit != CSSPrimitiveValue::CSS_IDENT)
|
| - return false;
|
| -
|
| - canvas = CSSCanvasValue::create(value->string);
|
| - return true;
|
| -}
|
| -
|
| PassRefPtr<CSSValue> CSSPropertyParser::parseImageSet(CSSParserValueList* valueList)
|
| {
|
| CSSParserValue* function = valueList->current();
|
|
|