summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/libjingle/overrides/init_webrtc.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/third_party/libjingle/overrides/init_webrtc.cc b/third_party/libjingle/overrides/init_webrtc.cc
index e0e0532..b25f31a 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>(