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

Unified Diff: core/fxge/cfx_fontmapper.h

Issue 2395883002: Use another vector for installed fonts in CFX_FontMapper (Closed)
Patch Set: Created 4 years, 2 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 | core/fxge/ge/cfx_fontmapper.cpp » ('j') | core/fxge/ge/cfx_fontmapper.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxge/cfx_fontmapper.h
diff --git a/core/fxge/cfx_fontmapper.h b/core/fxge/cfx_fontmapper.h
index 383550b33a3cf7b1fe4f67f61f0bf2002261dc49..4674b9a5cac4c5fe77e2b1bb79d0f4136369a436 100644
--- a/core/fxge/cfx_fontmapper.h
+++ b/core/fxge/cfx_fontmapper.h
@@ -7,6 +7,7 @@
#ifndef CORE_FXGE_CFX_FONTMAPPER_H_
#define CORE_FXGE_CFX_FONTMAPPER_H_
+#include <map>
#include <memory>
#include <vector>
@@ -44,7 +45,7 @@ class CFX_FontMapper {
return m_FaceArray[index].name;
}
- std::vector<CFX_ByteString> m_InstalledTTFonts;
+ std::map<CFX_ByteString, CFX_ByteString> m_InstalledTTFonts;
private:
static const size_t MM_FACE_COUNT = 2;
« no previous file with comments | « no previous file | core/fxge/ge/cfx_fontmapper.cpp » ('j') | core/fxge/ge/cfx_fontmapper.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698