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

Unified Diff: Source/platform/fonts/shaping/SimpleShaper.h

Issue 986493002: Simplify text emphasis painting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 5 years, 9 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/platform/fonts/shaping/Shaper.cpp ('k') | Source/platform/fonts/shaping/SimpleShaper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/shaping/SimpleShaper.h
diff --git a/Source/platform/fonts/shaping/SimpleShaper.h b/Source/platform/fonts/shaping/SimpleShaper.h
index 2c50d6359f8c216e4b5a54e0f35e5e1790f67fca..b3297d5b03320d2bf58e1532751a3893e14ca332 100644
--- a/Source/platform/fonts/shaping/SimpleShaper.h
+++ b/Source/platform/fonts/shaping/SimpleShaper.h
@@ -42,7 +42,8 @@ struct GlyphData;
struct PLATFORM_EXPORT SimpleShaper : public Shaper {
WTF_MAKE_FAST_ALLOCATED;
public:
- SimpleShaper(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, FloatRect* = 0, bool forTextEmphasis = false);
+ SimpleShaper(const Font*, const TextRun&, const GlyphData* emphasisData = nullptr,
+ HashSet<const SimpleFontData*>* fallbackFonts = nullptr, FloatRect* = nullptr);
unsigned advance(unsigned to, GlyphBuffer* = 0);
bool advanceOneCharacter(float& width);
« no previous file with comments | « Source/platform/fonts/shaping/Shaper.cpp ('k') | Source/platform/fonts/shaping/SimpleShaper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698