Index: third_party/WebKit/Source/core/style/FillLayer.h |
diff --git a/third_party/WebKit/Source/core/style/FillLayer.h b/third_party/WebKit/Source/core/style/FillLayer.h |
index 23d52fc06a5953d5877c5e255b18bace091802cb..f14ef062d2fea3c52bee828c40b9b399c3422365 100644 |
--- a/third_party/WebKit/Source/core/style/FillLayer.h |
+++ b/third_party/WebKit/Source/core/style/FillLayer.h |
@@ -194,8 +194,8 @@ public: |
static EFillAttachment initialFillAttachment(EFillLayerType) { return ScrollBackgroundAttachment; } |
static EFillBox initialFillClip(EFillLayerType) { return BorderFillBox; } |
static EFillBox initialFillOrigin(EFillLayerType type) { return type == BackgroundFillLayer ? PaddingFillBox : BorderFillBox; } |
- static EFillRepeat initialFillRepeatX(EFillLayerType) { return RepeatFill; } |
- static EFillRepeat initialFillRepeatY(EFillLayerType) { return RepeatFill; } |
+ static EFillRepeat initialFillRepeatX(EFillLayerType type) { return type == BackgroundFillLayer ? RepeatFill : NoRepeatFill; } |
+ static EFillRepeat initialFillRepeatY(EFillLayerType type) { return type == BackgroundFillLayer ? RepeatFill : NoRepeatFill; } |
static CompositeOperator initialFillComposite(EFillLayerType) { return CompositeSourceOver; } |
static WebBlendMode initialFillBlendMode(EFillLayerType) { return WebBlendModeNormal; } |
static EFillSizeType initialFillSizeType(EFillLayerType) { return SizeLength; } |