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

Unified Diff: media/base/video_frame_metadata.cc

Issue 2689673002: Inline base::BinaryValue into base::Value (Closed)
Patch Set: Rebase Created 3 years, 10 months 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 | « ipc/ipc_message_utils.cc ('k') | ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame_metadata.cc
diff --git a/media/base/video_frame_metadata.cc b/media/base/video_frame_metadata.cc
index 3bc108683c7cb605b9e740ea9ee47013a62d0e26..0ce0b2cdc588c01c20a596f772711c2053a8ed40 100644
--- a/media/base/video_frame_metadata.cc
+++ b/media/base/video_frame_metadata.cc
@@ -171,7 +171,7 @@ const base::BinaryValue* VideoFrameMetadata::GetBinaryValue(Key key) const {
if (dictionary_.GetWithoutPathExpansion(ToInternalKey(key),
&internal_value) &&
internal_value->GetType() == base::Value::Type::BINARY) {
- return static_cast<const base::BinaryValue*>(internal_value);
+ return internal_value;
}
return nullptr;
}
« no previous file with comments | « ipc/ipc_message_utils.cc ('k') | ppapi/shared_impl/private/ppb_x509_certificate_private_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698