Skip to content

Instantly share code, notes, and snippets.

@brendandahl
Created January 6, 2016 00:59
Show Gist options
  • Save brendandahl/5478065dad54ba8c491d to your computer and use it in GitHub Desktop.
Save brendandahl/5478065dad54ba8c491d to your computer and use it in GitHub Desktop.
Print nsIAtom
nsAutoString autoString;
// mName is the atom
(*(entry->mFeature->mName))->ToString(autoString);
printf("nsMediaQueryResultCacheKey::Matches %s\n", NS_ConvertUTF16toUTF8(autoString).get());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment