Update device orientation & motion permission native SPI as per latest proposal
[WebKit-https.git] / Source / WebCore / page / ChromeClient.h
index 47e3c5a..28c251a 100644 (file)
@@ -483,7 +483,7 @@ public:
     virtual void requestStorageAccess(String&& /*subFrameHost*/, String&& /*topFrameHost*/, uint64_t /*frameID*/, uint64_t /*pageID*/, WTF::CompletionHandler<void (bool)>&& callback) { callback(false); }
 
 #if ENABLE(DEVICE_ORIENTATION)
-    virtual void shouldAllowDeviceOrientationAndMotionAccess(const SecurityOrigin&, WTF::CompletionHandler<void(bool)>&& callback) { callback(true); }
+    virtual void shouldAllowDeviceOrientationAndMotionAccess(Frame&, WTF::CompletionHandler<void(bool)>&& callback) { callback(true); }
 #endif
 
     virtual void didInsertMenuElement(HTMLMenuElement&) { }