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

Unified Diff: Source/platform/fonts/mac/ComplexTextController.cpp

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: Fixing merge issues Created 6 years, 11 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/mac/ComplexTextController.cpp
diff --git a/Source/platform/fonts/mac/ComplexTextController.cpp b/Source/platform/fonts/mac/ComplexTextController.cpp
index 57855a55b5ed444de4c1de337440a867e9d792fd..51917f732564d9185e80e5eba29cae48307412da 100644
--- a/Source/platform/fonts/mac/ComplexTextController.cpp
+++ b/Source/platform/fonts/mac/ComplexTextController.cpp
@@ -41,7 +41,7 @@ class TextLayout {
public:
static bool isNeeded(const TextRun& run, const Font& font)
{
- return font.codePath(run) == Font::Complex;
+ return font.codePath(run) == ComplexPath;
}
TextLayout(const TextRun& run, unsigned textLength, const Font& font, float xPos)
« 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