Merge pull request #44786 from mkuchnik:mkuchnik_fix_record_writer
PiperOrigin-RevId: 348458753 Change-Id: I6e43db1c93056c2cc00f565576b320617e39a894
This commit is contained in:
commit
ad8083afac
@ -61,7 +61,7 @@ RecordWriter::RecordWriter(WritableFile* dest,
|
||||
const RecordWriterOptions& options)
|
||||
: dest_(dest), options_(options) {
|
||||
#if defined(IS_SLIM_BUILD)
|
||||
if (compression_type != compression::kNone) {
|
||||
if (options.compression_type != RecordWriterOptions::NONE) {
|
||||
LOG(FATAL) << "Compression is unsupported on mobile platforms.";
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user