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

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

Issue 608413002: Change SimpleShaper::advance to take unsigned (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | Source/platform/fonts/SimpleShaper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/SimpleShaper.h
diff --git a/Source/platform/fonts/SimpleShaper.h b/Source/platform/fonts/SimpleShaper.h
index 09d7dec437449532b1b3752095e6489de0847a02..d942d6ed279a8bd380916cf6a831cd90e59c79ec 100644
--- a/Source/platform/fonts/SimpleShaper.h
+++ b/Source/platform/fonts/SimpleShaper.h
@@ -43,7 +43,7 @@ struct PLATFORM_EXPORT SimpleShaper {
public:
SimpleShaper(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0, bool accountForGlyphBounds = false, bool forTextEmphasis = false);
- unsigned advance(int to, GlyphBuffer* = 0);
+ unsigned advance(unsigned to, GlyphBuffer* = 0);
bool advanceOneCharacter(float& width);
float maxGlyphBoundingBoxY() const { ASSERT(m_accountForGlyphBounds); return m_maxGlyphBoundingBoxY; }
« no previous file with comments | « no previous file | Source/platform/fonts/SimpleShaper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698