| Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| index 616b95146e21cf070d1567b17f400d3cc3a06947..359ff659dba1cf327e107b68a124cf61704df8da 100644
|
| --- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| +++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.cpp
|
| @@ -33,14 +33,14 @@ struct ScreenOrientationInfo {
|
|
|
| static ScreenOrientationInfo* orientationsMap(unsigned& length)
|
| {
|
| - DEFINE_STATIC_LOCAL(const AtomicString, portraitPrimary, ("portrait-primary", AtomicString::ConstructFromLiteral));
|
| - DEFINE_STATIC_LOCAL(const AtomicString, portraitSecondary, ("portrait-secondary", AtomicString::ConstructFromLiteral));
|
| - DEFINE_STATIC_LOCAL(const AtomicString, landscapePrimary, ("landscape-primary", AtomicString::ConstructFromLiteral));
|
| - DEFINE_STATIC_LOCAL(const AtomicString, landscapeSecondary, ("landscape-secondary", AtomicString::ConstructFromLiteral));
|
| - DEFINE_STATIC_LOCAL(const AtomicString, any, ("any", AtomicString::ConstructFromLiteral));
|
| - DEFINE_STATIC_LOCAL(const AtomicString, portrait, ("portrait", AtomicString::ConstructFromLiteral));
|
| - DEFINE_STATIC_LOCAL(const AtomicString, landscape, ("landscape", AtomicString::ConstructFromLiteral));
|
| - DEFINE_STATIC_LOCAL(const AtomicString, natural, ("natural", AtomicString::ConstructFromLiteral));
|
| + DEFINE_STATIC_LOCAL(const AtomicString, portraitPrimary, ("portrait-primary"));
|
| + DEFINE_STATIC_LOCAL(const AtomicString, portraitSecondary, ("portrait-secondary"));
|
| + DEFINE_STATIC_LOCAL(const AtomicString, landscapePrimary, ("landscape-primary"));
|
| + DEFINE_STATIC_LOCAL(const AtomicString, landscapeSecondary, ("landscape-secondary"));
|
| + DEFINE_STATIC_LOCAL(const AtomicString, any, ("any"));
|
| + DEFINE_STATIC_LOCAL(const AtomicString, portrait, ("portrait"));
|
| + DEFINE_STATIC_LOCAL(const AtomicString, landscape, ("landscape"));
|
| + DEFINE_STATIC_LOCAL(const AtomicString, natural, ("natural"));
|
|
|
| static ScreenOrientationInfo orientationMap[] = {
|
| { portraitPrimary, WebScreenOrientationLockPortraitPrimary },
|
|
|