Index: third_party/libjingle/overrides/init_webrtc.cc |
diff --git a/third_party/libjingle/overrides/init_webrtc.cc b/third_party/libjingle/overrides/init_webrtc.cc |
index e0e05321f9785528d9e368dcedd93d9709585b3d..b25f31aa07f7a1788a424cf171991bcfa2da57f8 100644 |
--- a/third_party/libjingle/overrides/init_webrtc.cc |
+++ b/third_party/libjingle/overrides/init_webrtc.cc |
@@ -80,10 +80,9 @@ bool InitializeWebRtcModule() { |
base::FilePath path(GetLibPeerConnectionPath()); |
DVLOG(1) << "Loading WebRTC module: " << path.value(); |
- std::string error; |
- static base::NativeLibrary lib = |
- base::LoadNativeLibrary(path, &error); |
- CHECK(lib) << error; |
+ base::NativeLibraryLoadError error; |
+ static base::NativeLibrary lib = base::LoadNativeLibrary(path, &error); |
+ CHECK(lib) << error.ToString(); |
InitializeModuleFunction initialize_module = |
reinterpret_cast<InitializeModuleFunction>( |