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

Unified Diff: content/child/url_response_body_consumer.cc

Issue 2623263005: Tag some of Mojo heap allocations for the heap profiler. (Closed)
Patch Set: Addressed comments + fixed build. Created 3 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
Index: content/child/url_response_body_consumer.cc
diff --git a/content/child/url_response_body_consumer.cc b/content/child/url_response_body_consumer.cc
index 5014eeb1ed6eb81443d4ba6642c5827f32e2b912..4c704e132ac2ea8ffca2d598045c494602f4a7a4 100644
--- a/content/child/url_response_body_consumer.cc
+++ b/content/child/url_response_body_consumer.cc
@@ -45,7 +45,7 @@ URLResponseBodyConsumer::URLResponseBodyConsumer(
: request_id_(request_id),
resource_dispatcher_(resource_dispatcher),
handle_(std::move(handle)),
- handle_watcher_(task_runner),
+ handle_watcher_(FROM_HERE, task_runner),
task_runner_(task_runner),
has_seen_end_of_data_(!handle_.is_valid()) {}

Powered by Google App Engine
This is Rietveld 408576698