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

Unified Diff: third_party/WebKit/Source/web/ImageDecodeBench.cpp

Issue 1419293005: Add assertions that the empty Platform::cryptographicallyRandomValues() overrides are not being use… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/WebKit/Source/web/ImageDecodeBench.cpp
diff --git a/third_party/WebKit/Source/web/ImageDecodeBench.cpp b/third_party/WebKit/Source/web/ImageDecodeBench.cpp
index 98f7fa12be195937213699d4b61f55a1bbf9ff9e..1e94248c524966edb228c2666128acea12738d75 100644
--- a/third_party/WebKit/Source/web/ImageDecodeBench.cpp
+++ b/third_party/WebKit/Source/web/ImageDecodeBench.cpp
@@ -369,7 +369,7 @@ int main(int argc, char* argv[])
void cryptographicallyRandomValues(unsigned char*, size_t) override
jww 2015/11/10 18:43:16 There was a comment in one of the other classes ex
eroman 2015/11/10 19:26:14 The existing comment here was wrong here which is
{
- // Do nothing: make blink::Platform use the default crypto-randoms.
+ ASSERT_NOT_REACHED();
}
void screenColorProfile(WebVector<char>* profile) override

Powered by Google App Engine
This is Rietveld 408576698