Title: [116267] trunk/Source/WebKit/chromium
Revision
116267
Author
pilg...@chromium.org
Date
2012-05-06 21:15:47 -0700 (Sun, 06 May 2012)

Log Message

[Chromium] Call cryptographicallyRandomValues through Platform.h
https://bugs.webkit.org/show_bug.cgi?id=85763

Reviewed by Adam Barth.

Part of a refactoring series. See tracking bug 82948.

* src/ChromiumOSRandomSource.cpp:
(WTF::cryptographicallyRandomValuesFromOS):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (116266 => 116267)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-05-07 04:11:54 UTC (rev 116266)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-05-07 04:15:47 UTC (rev 116267)
@@ -1,3 +1,15 @@
+2012-05-06  Mark Pilgrim  <pilg...@chromium.org>
+
+        [Chromium] Call cryptographicallyRandomValues through Platform.h
+        https://bugs.webkit.org/show_bug.cgi?id=85763
+
+        Reviewed by Adam Barth.
+
+        Part of a refactoring series. See tracking bug 82948.
+
+        * src/ChromiumOSRandomSource.cpp:
+        (WTF::cryptographicallyRandomValuesFromOS):
+
 2012-05-06  Keishi Hattori  <kei...@webkit.org>
 
         [chromium] Add WebKit API to access multiple attribute of input element

Modified: trunk/Source/WebKit/chromium/src/ChromiumOSRandomSource.cpp (116266 => 116267)


--- trunk/Source/WebKit/chromium/src/ChromiumOSRandomSource.cpp	2012-05-07 04:11:54 UTC (rev 116266)
+++ trunk/Source/WebKit/chromium/src/ChromiumOSRandomSource.cpp	2012-05-07 04:15:47 UTC (rev 116267)
@@ -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);
 }
 
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to