Removed unused variable
This commit is contained in:
parent
7ecd333b74
commit
2f5d659e78
1 changed files with 0 additions and 6 deletions
|
|
@ -9,8 +9,6 @@
|
|||
#elif __APPLE__
|
||||
#include <include/ports/SkFontMgr_mac_ct.h>
|
||||
#include <ApplicationServices/ApplicationServices.h>
|
||||
#include <string>
|
||||
CTFontCollectionRef fontCollectionRef = nullptr;
|
||||
#elif _WIN32
|
||||
#include <include/ports/SkTypeface_win.h>
|
||||
#include "WindowsFontData/CustomFontSetManager.h"
|
||||
|
|
@ -91,10 +89,6 @@ void FontData::push_default_font_families(std::vector<SkString>& fontFamilies) c
|
|||
}
|
||||
|
||||
FontData::~FontData() {
|
||||
#ifdef __APPLE__
|
||||
if(fontCollectionRef)
|
||||
CFRelease(fontCollectionRef);
|
||||
#endif
|
||||
}
|
||||
|
||||
Vector2f get_str_font_bounds(const SkFont& font, const std::string& str) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue