Index: third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h |
diff --git a/third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h b/third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h |
index 81f46101993f615b95fae9822376d261a7424956..3530bfc686b83b11cafad6b9481483cde0e914f5 100644 |
--- a/third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h |
+++ b/third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationClient.h |
@@ -6,6 +6,7 @@ |
#define WebScreenOrientationClient_h |
#include "public/platform/modules/screen_orientation/WebScreenOrientationLockType.h" |
+#include <memory> |
namespace blink { |
@@ -19,7 +20,7 @@ class WebScreenOrientationClient { |
// Request a screen orientation lock. The implementation will own the |
// callback. |
virtual void lockOrientation(WebScreenOrientationLockType, |
- WebLockOrientationCallback*) = 0; |
+ std::unique_ptr<WebLockOrientationCallback>) = 0; |
// Unlock the screen orientation. No-op if the screen orientation was not |
// locked. |