Changeset 116267 in webkit


Ignore:
Timestamp:
May 6, 2012 9:15:47 PM (12 years ago)
Author:
pilgrim@chromium.org
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):

Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r116259 r116267  
     12012-05-06  Mark Pilgrim  <pilgrim@chromium.org>
     2
     3        [Chromium] Call cryptographicallyRandomValues through Platform.h
     4        https://bugs.webkit.org/show_bug.cgi?id=85763
     5
     6        Reviewed by Adam Barth.
     7
     8        Part of a refactoring series. See tracking bug 82948.
     9
     10        * src/ChromiumOSRandomSource.cpp:
     11        (WTF::cryptographicallyRandomValuesFromOS):
     12
    1132012-05-06  Keishi Hattori  <keishi@webkit.org>
    214
  • trunk/Source/WebKit/chromium/src/ChromiumOSRandomSource.cpp

    r102044 r116267  
    3333
    3434#include "WebKit.h"
    35 #include "platform/WebKitPlatformSupport.h"
     35
     36#include <public/Platform.h>
    3637
    3738namespace WTF {
     
    3940void cryptographicallyRandomValuesFromOS(unsigned char* buffer, size_t length)
    4041{
    41     WebKit::webKitPlatformSupport()->cryptographicallyRandomValues(buffer, length);
     42    WebKit::Platform::current()->cryptographicallyRandomValues(buffer, length);
    4243}
    4344
Note: See TracChangeset for help on using the changeset viewer.