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

Unified Diff: sky/engine/core/rendering/style/FillLayer.h

Issue 844193009: Change background-repeat default to no-repeat (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: now with test results Created 5 years, 11 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
« no previous file with comments | « no previous file | sky/examples/flights-app/app-toast.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/style/FillLayer.h
diff --git a/sky/engine/core/rendering/style/FillLayer.h b/sky/engine/core/rendering/style/FillLayer.h
index e074c421f65f1b7ac398db49d1574861dd790f0a..7ec90030586cab4619cff24fdbbb4ceda4b63e49 100644
--- a/sky/engine/core/rendering/style/FillLayer.h
+++ b/sky/engine/core/rendering/style/FillLayer.h
@@ -183,8 +183,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) { return NoRepeatFill; }
+ static EFillRepeat initialFillRepeatY(EFillLayerType) { return NoRepeatFill; }
static CompositeOperator initialFillComposite(EFillLayerType) { return CompositeSourceOver; }
static WebBlendMode initialFillBlendMode(EFillLayerType) { return WebBlendModeNormal; }
static EFillSizeType initialFillSizeType(EFillLayerType) { return SizeLength; }
« no previous file with comments | « no previous file | sky/examples/flights-app/app-toast.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698