Skip to content

Commit

Permalink
Update manifest-background-color.js
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish authored Aug 5, 2016
1 parent c7884d7 commit 38ba8a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lighthouse-core/audits/manifest-background-color.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ManifestBackgroundColor extends Audit {
* @param {!Manifest=} manifest
* @return {boolean}
*/
static hasBackgroundColorValue(manifest) {
static getBackgroundColorValue(manifest) {
return manifest !== undefined &&
manifest.background_color !== undefined &&
manifest.background_color.value;
Expand All @@ -48,7 +48,7 @@ class ManifestBackgroundColor extends Audit {
* @return {!AuditResult}
*/
static audit(artifacts) {
const bgColor = ManifestBackgroundColor.hasBackgroundColorValue(artifacts.Manifest.value);
const bgColor = ManifestBackgroundColor.getBackgroundColorValue(artifacts.Manifest.value);

return ManifestBackgroundColor.generateAuditResult({
rawValue: !!bgColor,
Expand Down

0 comments on commit 38ba8a2

Please sign in to comment.