From: Jay Civelli Date: Thu, 30 Mar 2017 17:59:21 +0000 (-0700) Subject: media: Update libchrome APIS to r456626. X-Git-Tag: android-x86-9.0-r1~62^2^2^2^2^2^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=247b914250c9095705965a673452866fed4d4162;p=android-x86%2Fsystem-media.git media: Update libchrome APIS to r456626. The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. Change-Id: I9bf5b491770efc3009ea2ff3afe9e6d2c1163206 --- diff --git a/brillo/audio/audioservice/test/audio_device_handler_test.cpp b/brillo/audio/audioservice/test/audio_device_handler_test.cpp index d14faa05..560d94e6 100644 --- a/brillo/audio/audioservice/test/audio_device_handler_test.cpp +++ b/brillo/audio/audioservice/test/audio_device_handler_test.cpp @@ -41,7 +41,7 @@ class AudioDeviceHandlerTest : public testing::Test { public: void SetUp() override { EXPECT_TRUE(temp_dir_.CreateUniqueTempDir()); - h2w_file_path_ = temp_dir_.path().Append("h2wstate"); + h2w_file_path_ = temp_dir_.GetPath().Append("h2wstate"); } void TearDown() override { handler_.Reset(); } diff --git a/brillo/audio/audioservice/test/audio_volume_handler_test.cpp b/brillo/audio/audioservice/test/audio_volume_handler_test.cpp index 47ef2361..2ab804a6 100644 --- a/brillo/audio/audioservice/test/audio_volume_handler_test.cpp +++ b/brillo/audio/audioservice/test/audio_volume_handler_test.cpp @@ -43,7 +43,7 @@ class AudioVolumeHandlerTest : public testing::Test { public: void SetUp() override { EXPECT_TRUE(temp_dir_.CreateUniqueTempDir()); - volume_file_path_ = temp_dir_.path().Append("vol_file"); + volume_file_path_ = temp_dir_.GetPath().Append("vol_file"); handler_.SetVolumeFilePathForTesting(volume_file_path_); }