Index: third_party/WebKit/Source/core/style/ComputedStyle.h |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h |
index 2e1b0ea97fb95b994955fc741a22ad68f2f8a740..7b5d8ca0b676119b55f7e8fd0e3ceaca59d83375 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -38,6 +38,7 @@ |
#include "core/style/NinePieceImage.h" |
#include "core/style/OutlineValue.h" |
#include "core/style/SVGComputedStyle.h" |
+#include "core/style/SVGComputedStyleDefs.h" |
#include "core/style/ShapeValue.h" |
#include "core/style/StyleBackgroundData.h" |
#include "core/style/StyleBoxData.h" |
@@ -1482,6 +1483,7 @@ public: |
const SVGPaintType& fillPaintType() const { return svgStyle().fillPaintType(); } |
Color fillPaintColor() const { return svgStyle().fillPaintColor(); } |
+ void setFillPaintColor(const Color& c) { accessSVGStyle().setFillPaint(SVGPaintType::SVG_PAINTTYPE_RGBCOLOR, c, ""); } |
float fillOpacity() const { return svgStyle().fillOpacity(); } |
void setFillOpacity(float f) { accessSVGStyle().setFillOpacity(f); } |