Index: content/public/common/manifest.cc |
diff --git a/content/public/common/manifest.cc b/content/public/common/manifest.cc |
index 292b85b44dbad8fce4c7c3453279d7af6bf723f3..389754189cecbc5713782cd182839a1e5a2bc8bf 100644 |
--- a/content/public/common/manifest.cc |
+++ b/content/public/common/manifest.cc |
@@ -18,7 +18,8 @@ Manifest::Icon::~Icon() { |
Manifest::Manifest() |
: display(DISPLAY_MODE_UNSPECIFIED), |
- orientation(blink::WebScreenOrientationLockDefault) { |
+ orientation(blink::WebScreenOrientationLockDefault), |
+ gcm_user_visible_only(false) { |
} |
Manifest::~Manifest() { |
@@ -31,7 +32,8 @@ bool Manifest::IsEmpty() const { |
display == DISPLAY_MODE_UNSPECIFIED && |
orientation == blink::WebScreenOrientationLockDefault && |
icons.empty() && |
- gcm_sender_id.is_null(); |
+ gcm_sender_id.is_null() && |
+ !gcm_user_visible_only; |
} |
} // namespace content |