summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/DeviceOrientationClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/DeviceOrientationClient.h')
-rw-r--r--Source/WebCore/dom/DeviceOrientationClient.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/WebCore/dom/DeviceOrientationClient.h b/Source/WebCore/dom/DeviceOrientationClient.h
index 5b5d1768b..37763633b 100644
--- a/Source/WebCore/dom/DeviceOrientationClient.h
+++ b/Source/WebCore/dom/DeviceOrientationClient.h
@@ -24,10 +24,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DeviceOrientationClient_h
-#define DeviceOrientationClient_h
+#pragma once
#include "DeviceClient.h"
+#include "PlatformExportMacros.h"
#include <wtf/Noncopyable.h>
namespace WebCore {
@@ -46,8 +46,6 @@ public:
virtual void deviceOrientationControllerDestroyed() = 0;
};
-void provideDeviceOrientationTo(Page*, DeviceOrientationClient*);
+WEBCORE_EXPORT void provideDeviceOrientationTo(Page*, DeviceOrientationClient*);
} // namespace WebCore
-
-#endif // DeviceOrientationClient_h