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 dc200c15a294706bcc85fe72091b8ee5101c7a3f..21d31f5feea76c4083f0e756753dcb31ecaab566 100644 |
--- a/content/renderer/screen_orientation/screen_orientation_dispatcher.h |
+++ b/content/renderer/screen_orientation/screen_orientation_dispatcher.h |
@@ -5,6 +5,9 @@ |
#ifndef CONTENT_RENDERER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DISPATCHER_H_ |
#define CONTENT_RENDERER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_DISPATCHER_H_ |
+#include <memory> |
+#include <utility> |
+ |
#include "base/compiler_specific.h" |
#include "base/id_map.h" |
#include "base/macros.h" |
@@ -40,8 +43,9 @@ class CONTENT_EXPORT ScreenOrientationDispatcher : |
void OnDestruct() override; |
// blink::WebScreenOrientationClient implementation. |
- void lockOrientation(blink::WebScreenOrientationLockType orientation, |
- blink::WebLockOrientationCallback* callback) override; |
+ void lockOrientation( |
+ blink::WebScreenOrientationLockType orientation, |
+ std::unique_ptr<blink::WebLockOrientationCallback> callback) override; |
void unlockOrientation() override; |
void OnLockOrientationResult(int request_id, |