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

Unified Diff: third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc

Issue 1296453004: Update mojo sdk to rev c02a28868825edfa57ab77947b8cb15e741c5598 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cherry-pick GL_APIENTRY addition back in Created 5 years, 4 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
Index: third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc
diff --git a/third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc b/third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc
index 5024087075956a354191a44ac1b19ccd5c5a82c8..4207120fc7b91601c743c85f22f81a89e53b36f2 100644
--- a/third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc
+++ b/third_party/mojo/src/mojo/edk/embedder/simple_platform_support.cc
@@ -4,7 +4,7 @@
#include "mojo/edk/embedder/simple_platform_support.h"
-#include "crypto/random.h"
+#include "base/rand_util.h"
#include "mojo/edk/embedder/simple_platform_shared_buffer.h"
namespace mojo {
@@ -12,7 +12,7 @@ namespace embedder {
void SimplePlatformSupport::GetCryptoRandomBytes(void* bytes,
size_t num_bytes) {
- crypto::RandBytes(bytes, num_bytes);
+ base::RandBytes(bytes, num_bytes);
}
PlatformSharedBuffer* SimplePlatformSupport::CreateSharedBuffer(

Powered by Google App Engine
This is Rietveld 408576698