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

Unified Diff: media/base/android/media_codec_player_unittest.cc

Issue 1782443008: Change scoped_ptr to a type alias for std::unique_ptr for OS_ANDROID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « chrome/browser/android/dev_tools_server.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/media_codec_player_unittest.cc
diff --git a/media/base/android/media_codec_player_unittest.cc b/media/base/android/media_codec_player_unittest.cc
index 10ce91cf3a35678b93d12c59bf4b5259730c6d60..5076e48976e9964ce847b211f26e6940c47a10fd 100644
--- a/media/base/android/media_codec_player_unittest.cc
+++ b/media/base/android/media_codec_player_unittest.cc
@@ -382,7 +382,7 @@ class MockDemuxerAndroid : public DemuxerAndroid {
// Conditions to wait for.
bool IsInitialized() const { return client_; }
- bool HasPendingConfigs() const { return pending_configs_; }
+ bool HasPendingConfigs() const { return !!pending_configs_; }
bool ReceivedSeekRequest() const { return num_seeks_ > 0; }
bool ReceivedBrowserSeekRequest() const { return num_browser_seeks_ > 0; }
« no previous file with comments | « chrome/browser/android/dev_tools_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698