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

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

Issue 1153173011: Force glyph overflow calculation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More rebaselines Created 5 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/platform/fonts/FontTest.cpp ('k') | Source/platform/text/TextPath.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/WidthCache.h
diff --git a/Source/platform/fonts/WidthCache.h b/Source/platform/fonts/WidthCache.h
index 831d26f8da29d18d08844eaf95b4d0450152ede2..a8f3aaf85c9517f4f96a7cb99b1e0634df86f1da 100644
--- a/Source/platform/fonts/WidthCache.h
+++ b/Source/platform/fonts/WidthCache.h
@@ -26,7 +26,7 @@
#ifndef WidthCache_h
#define WidthCache_h
-#include "platform/geometry/IntRectOutsets.h"
+#include "platform/geometry/FloatRectOutsets.h"
#include "platform/text/TextRun.h"
#include "wtf/Forward.h"
#include "wtf/HashFunctions.h"
@@ -43,7 +43,7 @@ struct WidthCacheEntry {
}
bool isValid() const { return !std::isnan(width); }
float width;
- IntRectOutsets glyphBounds;
+ FloatRectOutsets glyphBounds;
};
class WidthCache {
« no previous file with comments | « Source/platform/fonts/FontTest.cpp ('k') | Source/platform/text/TextPath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698