Skip to content

Commit 38ba8a2

Browse files
authored
Update manifest-background-color.js
1 parent c7884d7 commit 38ba8a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lighthouse-core/audits/manifest-background-color.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ManifestBackgroundColor extends Audit {
3737
* @param {!Manifest=} manifest
3838
* @return {boolean}
3939
*/
40-
static hasBackgroundColorValue(manifest) {
40+
static getBackgroundColorValue(manifest) {
4141
return manifest !== undefined &&
4242
manifest.background_color !== undefined &&
4343
manifest.background_color.value;
@@ -48,7 +48,7 @@ class ManifestBackgroundColor extends Audit {
4848
* @return {!AuditResult}
4949
*/
5050
static audit(artifacts) {
51-
const bgColor = ManifestBackgroundColor.hasBackgroundColorValue(artifacts.Manifest.value);
51+
const bgColor = ManifestBackgroundColor.getBackgroundColorValue(artifacts.Manifest.value);
5252

5353
return ManifestBackgroundColor.generateAuditResult({
5454
rawValue: !!bgColor,

0 commit comments

Comments
 (0)