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

Unified Diff: content/renderer/media/webmediaplayer_ms.h

Issue 1747593002: Change the type for byte counts to size_t in WebMediaPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made changes in the unittests Created 4 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
Index: content/renderer/media/webmediaplayer_ms.h
diff --git a/content/renderer/media/webmediaplayer_ms.h b/content/renderer/media/webmediaplayer_ms.h
index 8cac7c2d658413b9dd973902205893c6fd6fd33e..f18d39dfffe2bdf02c7082c072d88604715b44dc 100644
--- a/content/renderer/media/webmediaplayer_ms.h
+++ b/content/renderer/media/webmediaplayer_ms.h
@@ -131,8 +131,8 @@ class CONTENT_EXPORT WebMediaPlayerMS
unsigned decodedFrameCount() const override;
unsigned droppedFrameCount() const override;
- unsigned audioDecodedByteCount() const override;
- unsigned videoDecodedByteCount() const override;
+ size_t audioDecodedByteCount() const override;
+ size_t videoDecodedByteCount() const override;
// WebMediaPlayerDelegate::Observer implementation.
void OnHidden(bool must_suspend) override;
« no previous file with comments | « content/renderer/media/html_video_element_capturer_source_unittest.cc ('k') | content/renderer/media/webmediaplayer_ms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698