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

Unified Diff: chrome/browser/ui/webui/net_internals/net_internals_ui.cc

Issue 879383004: Workaround for chrome://net-internals debug crash on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: chrome/browser/ui/webui/net_internals/net_internals_ui.cc
diff --git a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
index 93022ab164d1b9c95e7c114f2f03fbf74bf6b42c..f3c02bc0c7c5c6d47caedb120efe44fc3f79c740 100644
--- a/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
+++ b/chrome/browser/ui/webui/net_internals/net_internals_ui.cc
@@ -705,7 +705,11 @@ void NetInternalsMessageHandler::IOThreadImpl::OnRendererReady(
SendJavascriptCommand("receivedConstants", NetInternalsUI::GetConstants());
+ // TODO(mmenke) DCHECK in CreateNetLogEntriesForActiveObjects in
+ // net_log_util.cc fails on Android (https://www.crbug.com/453088)
+#if !defined(OS_ANDROID)
PrePopulateEventList();
+#endif
// Register with network stack to observe events.
io_thread_->net_log()->AddThreadSafeObserver(this,
« 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