Searched refs:default_ticket (Results 1 – 1 of 1) sorted by relevance
435 scoped_ptr<DEVMODE, base::FreeDeleter> default_ticket = in CreateDevModeWithColor() local437 if (!default_ticket) in CreateDevModeWithColor()438 return default_ticket.Pass(); in CreateDevModeWithColor()440 if ((default_ticket->dmFields & DM_COLOR) && in CreateDevModeWithColor()441 ((default_ticket->dmColor == DMCOLOR_COLOR) == color)) { in CreateDevModeWithColor()442 return default_ticket.Pass(); in CreateDevModeWithColor()445 default_ticket->dmFields |= DM_COLOR; in CreateDevModeWithColor()446 default_ticket->dmColor = color ? DMCOLOR_COLOR : DMCOLOR_MONOCHROME; in CreateDevModeWithColor()450 return default_ticket.Pass(); in CreateDevModeWithColor()456 return default_ticket.Pass(); in CreateDevModeWithColor()[all …]