Index: chrome/browser/extensions/api/certificate_provider/certificate_provider_apitest.cc |
diff --git a/chrome/browser/extensions/api/certificate_provider/certificate_provider_apitest.cc b/chrome/browser/extensions/api/certificate_provider/certificate_provider_apitest.cc |
index 866e14da134370af8b22f86e043b912ca7e42a1a..5bc2282c5b9f0ca36a318b35be025b78f733e80a 100644 |
--- a/chrome/browser/extensions/api/certificate_provider/certificate_provider_apitest.cc |
+++ b/chrome/browser/extensions/api/certificate_provider/certificate_provider_apitest.cc |
@@ -76,9 +76,7 @@ void StoreDigest(std::vector<uint8_t>* digest, |
const bool is_binary = value->GetAsBinary(&binary); |
EXPECT_TRUE(is_binary) << "Unexpected value in StoreDigest"; |
if (is_binary) { |
- const uint8_t* const binary_begin = |
- reinterpret_cast<const uint8_t*>(binary->GetBuffer()); |
- digest->assign(binary_begin, binary_begin + binary->GetSize()); |
+ *digest = binary->GetBlob(); |
jdoerrie
2017/04/25 11:09:08
The linux_chromium_chromeos_* bots complain unfort
Devlin
2017/04/25 15:04:11
Ah well - worth a shot!
|
} |
callback.Run(); |