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

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

Issue 756183004: Get rid of background-clip:text and PaintBehaviorForceBlackText. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove forceBlackText Created 6 years 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 | « sky/engine/core/rendering/RenderView.cpp ('k') | sky/engine/core/rendering/style/RenderStyleConstants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/style/FillLayer.cpp
diff --git a/sky/engine/core/rendering/style/FillLayer.cpp b/sky/engine/core/rendering/style/FillLayer.cpp
index 5f1b37b95900da077a47d12fbcfd5946769c6c11..fd565ac4b515f9e2a73db7a6493b322513971fff 100644
--- a/sky/engine/core/rendering/style/FillLayer.cpp
+++ b/sky/engine/core/rendering/style/FillLayer.cpp
@@ -312,9 +312,7 @@ static EFillBox clipMax(EFillBox clipA, EFillBox clipB)
return BorderFillBox;
if (clipA == PaddingFillBox || clipB == PaddingFillBox)
return PaddingFillBox;
- if (clipA == ContentFillBox || clipB == ContentFillBox)
- return ContentFillBox;
- return TextFillBox;
+ return ContentFillBox;
}
void FillLayer::computeClipMax() const
« no previous file with comments | « sky/engine/core/rendering/RenderView.cpp ('k') | sky/engine/core/rendering/style/RenderStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698