Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Unified Diff: sky/engine/testing/platform/platform_impl.cc

Issue 691483005: Remove Platform::cryptographicallyRandomValues (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/testing/platform/platform_impl.h ('k') | sky/engine/web/Sky.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/testing/platform/platform_impl.cc
diff --git a/sky/engine/testing/platform/platform_impl.cc b/sky/engine/testing/platform/platform_impl.cc
index 6deb6089a732e421588eec151aec39324a44d8a0..683f864501804c9b290f320e8aa28178682f2e41 100644
--- a/sky/engine/testing/platform/platform_impl.cc
+++ b/sky/engine/testing/platform/platform_impl.cc
@@ -48,11 +48,6 @@ double PlatformImpl::monotonicallyIncreasingTime() {
static_cast<double>(base::Time::kMicrosecondsPerSecond);
}
-void PlatformImpl::cryptographicallyRandomValues(unsigned char* buffer,
- size_t length) {
- base::RandBytes(buffer, length);
-}
-
void PlatformImpl::setSharedTimerFiredFunction(void (*func)()) {
shared_timer_func_ = func;
}
« no previous file with comments | « sky/engine/testing/platform/platform_impl.h ('k') | sky/engine/web/Sky.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698