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

Unified Diff: Source/core/platform/graphics/GraphicsContext.cpp

Issue 16337002: Revert "Revert "Implement CSS3TextDecorations runtime flag in favor of CSS3_TEXT"" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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 | « Source/core/page/UseCounter.cpp ('k') | Source/core/platform/graphics/GraphicsTypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/graphics/GraphicsContext.cpp
diff --git a/Source/core/platform/graphics/GraphicsContext.cpp b/Source/core/platform/graphics/GraphicsContext.cpp
index 61370dfbd9e72907b03d236ee9ea522fe11723a6..db16b3211b9d387543c47d007bfd456c37adb2ad 100644
--- a/Source/core/platform/graphics/GraphicsContext.cpp
+++ b/Source/core/platform/graphics/GraphicsContext.cpp
@@ -500,10 +500,8 @@ float GraphicsContext::setupPaintForStroking(SkPaint* paint, SkRect* rect, int l
switch (m_state->m_strokeStyle) {
case NoStroke:
case SolidStroke:
-#if ENABLE(CSS3_TEXT)
case DoubleStroke:
- case WavyStroke: // FIXME: https://bugs.webkit.org/show_bug.cgi?id=93509 - Needs platform support.
-#endif // CSS3_TEXT
+ case WavyStroke: // FIXME: https://code.google.com/p/chromium/issues/detail?id=229574
break;
case DashedStroke:
width = dashRatio * width;
@@ -817,10 +815,8 @@ void GraphicsContext::drawLineForText(const FloatPoint& pt, float width, bool pr
switch (strokeStyle()) {
case NoStroke:
case SolidStroke:
-#if ENABLE(CSS3_TEXT)
case DoubleStroke:
case WavyStroke:
-#endif // CSS3_TEXT
setupPaintForFilling(&paint);
break;
case DottedStroke:
« no previous file with comments | « Source/core/page/UseCounter.cpp ('k') | Source/core/platform/graphics/GraphicsTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698