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

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

Issue 116423007: Moving Text Simple/Complex Path prefix from Font.cpp to new File (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
Index: Source/platform/fonts/Font.h
diff --git a/Source/platform/fonts/Font.h b/Source/platform/fonts/Font.h
old mode 100644
new mode 100755
index 1e1e4961746db0f0c09234a71505ff96ba366442..5c758d1e19ce75656bf7ff562edd6d195ffe47d8
--- a/Source/platform/fonts/Font.h
+++ b/Source/platform/fonts/Font.h
@@ -31,6 +31,7 @@
#include "platform/fonts/SimpleFontData.h"
#include "platform/fonts/TypesettingFeatures.h"
#include "platform/text/TextDirection.h"
+#include "platform/text/TextPath.h"
#include "wtf/HashMap.h"
#include "wtf/HashSet.h"
#include "wtf/MathExtras.h"
@@ -162,9 +163,8 @@ public:
static void setShouldUseSmoothing(bool);
static bool shouldUseSmoothing();
- enum CodePath { Auto, Simple, Complex, SimpleWithGlyphOverflow };
CodePath codePath(const TextRun&) const;
- static CodePath characterRangeCodePath(const LChar*, unsigned) { return Simple; }
+ static CodePath characterRangeCodePath(const LChar*, unsigned) { return SimplePath; }
static CodePath characterRangeCodePath(const UChar*, unsigned len);
private:

Powered by Google App Engine
This is Rietveld 408576698