Index: tools/VisualBench/VisualFlags.h |
diff --git a/src/ports/SkFontMgr_win_gdi_factory.cpp b/tools/VisualBench/VisualFlags.h |
similarity index 55% |
copy from src/ports/SkFontMgr_win_gdi_factory.cpp |
copy to tools/VisualBench/VisualFlags.h |
index de68ae8d306f901140976ab9fb4f35f0c3b02f60..cd13e8ed38247cb5b7a542f0927b548e1d28c5a6 100644 |
--- a/src/ports/SkFontMgr_win_gdi_factory.cpp |
+++ b/tools/VisualBench/VisualFlags.h |
@@ -5,9 +5,11 @@ |
* found in the LICENSE file. |
*/ |
-#include "SkFontMgr.h" |
-#include "SkTypeface_win.h" |
+#ifndef VisualFlags_DEFINED |
+#define VisualFlags_DEFINED |
-SkFontMgr* SkFontMgr::Factory() { |
- return SkFontMgr_New_GDI(); |
-} |
+#include "SkCommandLineFlags.h" |
+ |
+DECLARE_int32(msaa); |
+ |
+#endif |