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

Unified Diff: extensions/browser/api/cast_channel/logger.cc

Issue 1543943002: Remove assert that is not useful. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/cast_channel/logger.cc
diff --git a/extensions/browser/api/cast_channel/logger.cc b/extensions/browser/api/cast_channel/logger.cc
index a44dcab661984d22d881188ec2b9bfaf5fec65f5..fe32182ac6872c43da8a22aa9017b9841cffc5a1 100644
--- a/extensions/browser/api/cast_channel/logger.cc
+++ b/extensions/browser/api/cast_channel/logger.cc
@@ -77,9 +77,6 @@ scoped_ptr<char[]> Compress(const std::string& input, size_t* length) {
size_t out_size = deflateBound(&stream, input.size());
scoped_ptr<char[]> out(new char[out_size]);
- static_assert(sizeof(uint8) == sizeof(char),
- "uint8 char should be of different sizes");
-
stream.next_in = reinterpret_cast<uint8*>(const_cast<char*>(input.data()));
stream.avail_in = input.size();
stream.next_out = reinterpret_cast<uint8*>(out.get());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698