summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Loer <chris.loer@gmail.com>2017-11-29 12:56:11 -0800
committerChris Loer <chris.loer@gmail.com>2017-11-29 13:51:19 -0800
commitac8c89085f5e3585e96523f7ba1e183d62cdd2c7 (patch)
treeeccc1c45e10e6d86be7116102712eed3a0b6680f
parenta869e9c4dee46a67ee64a64c1d668222050e09ad (diff)
downloadqtlocation-mapboxgl-ac8c89085f5e3585e96523f7ba1e183d62cdd2c7.tar.gz
Remove entry point for setting local ideographic font family, so that tests pass.
-rw-r--r--platform/macos/src/MGLMapView.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/macos/src/MGLMapView.mm b/platform/macos/src/MGLMapView.mm
index 92b7c853b9..d5512cb6cc 100644
--- a/platform/macos/src/MGLMapView.mm
+++ b/platform/macos/src/MGLMapView.mm
@@ -223,9 +223,9 @@ public:
return self;
}
-- (instancetype)initWithFrame:(NSRect)frame styleURL:(nullable NSURL *)styleURL localIdeographFontFamily:(nullable NSString *)fontFamily {
+- (instancetype)initWithFrame:(NSRect)frame styleURL:(nullable NSURL *)styleURL {
if (self = [super initWithFrame:frame]) {
- [self commonInit:fontFamily];
+ [self commonInit:nil];
self.styleURL = styleURL;
}
return self;