summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/src/ChromiumOSRandomSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/ChromiumOSRandomSource.cpp')
-rw-r--r--Source/WebKit/chromium/src/ChromiumOSRandomSource.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebKit/chromium/src/ChromiumOSRandomSource.cpp b/Source/WebKit/chromium/src/ChromiumOSRandomSource.cpp
index 182f5e76e..9a31f4ae4 100644
--- a/Source/WebKit/chromium/src/ChromiumOSRandomSource.cpp
+++ b/Source/WebKit/chromium/src/ChromiumOSRandomSource.cpp
@@ -32,13 +32,14 @@
#include <wtf/OSRandomSource.h>
#include "WebKit.h"
-#include "platform/WebKitPlatformSupport.h"
+
+#include <public/Platform.h>
namespace WTF {
void cryptographicallyRandomValuesFromOS(unsigned char* buffer, size_t length)
{
- WebKit::webKitPlatformSupport()->cryptographicallyRandomValues(buffer, length);
+ WebKit::Platform::current()->cryptographicallyRandomValues(buffer, length);
}
}