| Index: content/renderer/screen_orientation/screen_orientation_dispatcher.h
|
| diff --git a/content/renderer/screen_orientation/screen_orientation_dispatcher.h b/content/renderer/screen_orientation/screen_orientation_dispatcher.h
|
| index 21d31f5feea76c4083f0e756753dcb31ecaab566..aa9caf34bb683ad043b2c875fbd9b58bea12a7db 100644
|
| --- a/content/renderer/screen_orientation/screen_orientation_dispatcher.h
|
| +++ b/content/renderer/screen_orientation/screen_orientation_dispatcher.h
|
| @@ -68,7 +68,7 @@ class CONTENT_EXPORT ScreenOrientationDispatcher :
|
| // pointer in the sense that it will destroy it when Remove() will be called.
|
| // Furthermore, we only expect to have one callback at a time in this map,
|
| // which is what IDMap was designed for.
|
| - typedef IDMap<blink::WebLockOrientationCallback, IDMapOwnPointer> CallbackMap;
|
| + using CallbackMap = IDMap<std::unique_ptr<blink::WebLockOrientationCallback>>;
|
| CallbackMap pending_callbacks_;
|
|
|
| ScreenOrientationAssociatedPtr screen_orientation_;
|
|
|