Remove unused private fields from cocoa HeadlessContext struct.

This commit is contained in:
mitchmindtree 2016-06-22 12:45:42 +10:00
parent e18ff88d21
commit c2537d81e8

View file

@ -17,8 +17,6 @@ use api::cocoa::helpers;
pub struct PlatformSpecificHeadlessBuilderAttributes; pub struct PlatformSpecificHeadlessBuilderAttributes;
pub struct HeadlessContext { pub struct HeadlessContext {
width: u32,
height: u32,
context: id, context: id,
} }
@ -44,8 +42,6 @@ impl HeadlessContext {
}; };
let headless = HeadlessContext { let headless = HeadlessContext {
width: width,
height: height,
context: context, context: context,
}; };