Index: chrome/browser/background/background_application_list_model.cc |
diff --git a/chrome/browser/background/background_application_list_model.cc b/chrome/browser/background/background_application_list_model.cc |
index 77c5f609ab04797760ca3e07d774ca5edb72916f..d48fd7bb395cf85e47e1f4a2d87379b920feda00 100644 |
--- a/chrome/browser/background/background_application_list_model.cc |
+++ b/chrome/browser/background/background_application_list_model.cc |
@@ -20,6 +20,7 @@ |
#include "chrome/browser/extensions/image_loader.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/chrome_notification_types.h" |
+#include "chrome/common/extensions/background_info.h" |
#include "chrome/common/extensions/extension.h" |
#include "chrome/common/extensions/extension_constants.h" |
#include "chrome/common/extensions/extension_icon_set.h" |
@@ -286,7 +287,7 @@ bool BackgroundApplicationListModel::IsBackgroundApp( |
return true; |
// Hosted apps with manifest-provided background pages are background apps. |
- if (extension.has_background_page()) |
+ if (extensions::BackgroundInfo::HasBackgroundPage(&extension)) |
return true; |
BackgroundContentsService* service = |