| Index: content/public/common/manifest.cc
|
| diff --git a/content/public/common/manifest.cc b/content/public/common/manifest.cc
|
| index d9fa2b26f25e4ea9780e6ce5e2fe2786a6d3f402..9aeedd419193f20e40313c5e797ac44d83c181da 100644
|
| --- a/content/public/common/manifest.cc
|
| +++ b/content/public/common/manifest.cc
|
| @@ -9,7 +9,8 @@ namespace content {
|
| const size_t Manifest::kMaxIPCStringLength = 4 * 1024;
|
|
|
| Manifest::Manifest()
|
| - : display(DISPLAY_MODE_UNSPECIFIED) {
|
| + : display(DISPLAY_MODE_UNSPECIFIED),
|
| + orientation(blink::WebScreenOrientationLockDefault) {
|
| }
|
|
|
| Manifest::~Manifest() {
|
| @@ -19,7 +20,8 @@ bool Manifest::IsEmpty() const {
|
| return name.is_null() &&
|
| short_name.is_null() &&
|
| start_url.is_empty() &&
|
| - display == DISPLAY_MODE_UNSPECIFIED;
|
| + display == DISPLAY_MODE_UNSPECIFIED &&
|
| + orientation == blink::WebScreenOrientationLockDefault;
|
| }
|
|
|
| } // namespace content
|
|
|