Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: components/update_client/update_client.cc

Issue 2862583004: Initialize libxml to observe effects on the Android crash. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698