From 44fb1faefec69561b11a4ddaca6fa89a6dcb3ac6 Mon Sep 17 00:00:00 2001 From: "bungeman@google.com" Date: Fri, 28 Jun 2013 17:21:35 +0000 Subject: Make implicit cast explicit to fix r9807 on gcc. git-svn-id: http://skia.googlecode.com/svn/trunk@9809 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/views/mac/SkNSView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/views/mac') diff --git a/src/views/mac/SkNSView.mm b/src/views/mac/SkNSView.mm index 6a09fa65c1..475b08f67d 100644 --- a/src/views/mac/SkNSView.mm +++ b/src/views/mac/SkNSView.mm @@ -84,7 +84,7 @@ SK_COMPILE_ASSERT(SK_SUPPORT_GPU, not_implemented_for_non_gpu_build); } - (void)backingPropertiesChanged:(NSNotification *)notification { - CGFloat oldBackingScaleFactor = [ + CGFloat oldBackingScaleFactor = (CGFloat)[ [notification.userInfo objectForKey:@"NSBackingPropertyOldScaleFactorKey"] doubleValue ]; CGFloat newBackingScaleFactor = [self scaleFactor]; -- cgit v1.2.3