Index: components/update_client/update_client.cc |
diff --git a/components/update_client/update_client.cc b/components/update_client/update_client.cc |
index 2c9f48aa1eb963790bff90d82d72a8b8a5cef8a4..a3614943d67b4f4852a92e2174083ae0a6ab782b 100644 |
--- a/components/update_client/update_client.cc |
+++ b/components/update_client/update_client.cc |
@@ -36,6 +36,7 @@ |
#include "components/update_client/update_engine.h" |
#include "components/update_client/update_response.h" |
#include "components/update_client/utils.h" |
+#include "third_party/libxml/src/include/libxml/parser.h" |
#include "url/gurl.h" |
namespace update_client { |
@@ -77,7 +78,10 @@ UpdateClientImpl::UpdateClientImpl( |
crx_downloader_factory, |
ping_manager_.get(), |
base::Bind(&UpdateClientImpl::NotifyObservers, |
- base::Unretained(this)))) {} |
+ base::Unretained(this)))) { |
+ // Temporary change while investigating crbug.com/717889. |
+ xmlInitParser(); |
+} |
UpdateClientImpl::~UpdateClientImpl() { |
DCHECK(thread_checker_.CalledOnValidThread()); |