Index: remoting/run_all_unittests.cc |
diff --git a/remoting/run_all_unittests.cc b/remoting/run_all_unittests.cc |
index 16e4f74617241118208bab093e2160881282baf0..d2bdda127adb960e90951335c3894509fbb1f730 100644 |
--- a/remoting/run_all_unittests.cc |
+++ b/remoting/run_all_unittests.cc |
@@ -14,7 +14,8 @@ int main(int argc, char** argv) { |
// Load the media library so we can use libvpx. |
FilePath path; |
PathService::Get(base::DIR_MODULE, &path); |
- CHECK(media::InitializeMediaLibrary(path)) |
+ media::InitializeMediaLibrary(path); |
+ CHECK(media::IsMediaLibraryInitialized()) |
<< "Cannot load media library"; |
return test_suite.Run(); |
} |