aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/views/mac
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-28 17:21:35 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-28 17:21:35 +0000
commit44fb1faefec69561b11a4ddaca6fa89a6dcb3ac6 (patch)
tree62e6dfe6edff3039ca570c30b080c0cd60694e81 /src/views/mac
parentb20a1b56a08d59d44eb8f7d423fccf88375c2c73 (diff)
Make implicit cast explicit to fix r9807 on gcc.
git-svn-id: http://skia.googlecode.com/svn/trunk@9809 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/views/mac')
-rw-r--r--src/views/mac/SkNSView.mm2
1 files changed, 1 insertions, 1 deletions
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];