Chromium Code Reviews| Index: media/base/encryption_scheme.h |
| diff --git a/media/base/encryption_scheme.h b/media/base/encryption_scheme.h |
| index 37bea6710d264390a5b74cd920e10951ff34eba7..901a2940c43f94b3d7235da41264828fab3c13ac 100644 |
| --- a/media/base/encryption_scheme.h |
| +++ b/media/base/encryption_scheme.h |
| @@ -42,14 +42,14 @@ class MEDIA_EXPORT EncryptionScheme { |
| bool Matches(const Pattern& other) const; |
| - uint32_t encrypt_blocks() const { return encrypt_blocks_; } |
| - uint32_t skip_blocks() const { return skip_blocks_; } |
| + uint8_t encrypt_blocks() const { return encrypt_blocks_; } |
| + uint8_t skip_blocks() const { return skip_blocks_; } |
| bool IsInEffect() const; |
| private: |
| - uint32_t encrypt_blocks_ = 0; |
| - uint32_t skip_blocks_ = 0; |
| + uint8_t encrypt_blocks_ = 0; |
| + uint8_t skip_blocks_ = 0; |
|
xhwang
2016/10/20 23:52:07
why do we make this change? Does it make sense to
dougsteed
2016/10/21 17:15:05
I am reverting this for this CL. The uint32_t orig
|
| // Allow copy and assignment. |
| }; |