| Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
|
| diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
|
| index d8eca516f019d77fda238b2e0531cdb575c68be0..60ff40462c08eff73b9abedfcf9d8d42a20399f6 100644
|
| --- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
|
| +++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp
|
| @@ -10,8 +10,8 @@
|
|
|
| ScreenOrientationDispatcher& ScreenOrientationDispatcher::instance()
|
| {
|
| - DEFINE_STATIC_LOCAL(ScreenOrientationDispatcher, screenOrientationDispatcher, (new ScreenOrientationDispatcher));
|
| - return screenOrientationDispatcher;
|
| + DEFINE_STATIC_LOCAL(Persistent<ScreenOrientationDispatcher>, screenOrientationDispatcher, (new ScreenOrientationDispatcher()));
|
| + return *screenOrientationDispatcher;
|
| }
|
|
|
| ScreenOrientationDispatcher::ScreenOrientationDispatcher()
|
|
|