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

Unified Diff: media/blink/webcontentdecryptionmodule_impl.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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
Index: media/blink/webcontentdecryptionmodule_impl.cc
diff --git a/media/blink/webcontentdecryptionmodule_impl.cc b/media/blink/webcontentdecryptionmodule_impl.cc
index d6509dae53dfac3f6d2205f930f4e3309ab20e26..81a0ee832c1fafeeb6185f593f596c792a498873 100644
--- a/media/blink/webcontentdecryptionmodule_impl.cc
+++ b/media/blink/webcontentdecryptionmodule_impl.cc
@@ -4,7 +4,6 @@
#include "webcontentdecryptionmodule_impl.h"
-#include "base/basictypes.h"
#include "base/bind.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
@@ -87,13 +86,13 @@ WebContentDecryptionModuleImpl::createSession() {
}
void WebContentDecryptionModuleImpl::setServerCertificate(
- const uint8* server_certificate,
+ const uint8_t* server_certificate,
size_t server_certificate_length,
blink::WebContentDecryptionModuleResult result) {
DCHECK(server_certificate);
adapter_->SetServerCertificate(
- std::vector<uint8>(server_certificate,
- server_certificate + server_certificate_length),
+ std::vector<uint8_t>(server_certificate,
+ server_certificate + server_certificate_length),
scoped_ptr<SimpleCdmPromise>(
new CdmResultPromise<>(result, std::string())));
}

Powered by Google App Engine
This is Rietveld 408576698