aboutsummaryrefslogtreecommitdiffstats
path: root/components/devtools
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2015-10-01 08:53:36 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2015-10-06 17:06:53 +1000
commit5645dba1fa9180068eb0c59417448e7310de5299 (patch)
tree80aa70f5d99d8ff2bf1f8288fedc628cd92466af /components/devtools
parent35888e5a1d48511ec54ddf8c58f1c7b0c47c5d3c (diff)
downloadservo-5645dba1fa9180068eb0c59417448e7310de5299.tar.gz
servo-5645dba1fa9180068eb0c59417448e7310de5299.zip
Make it possible for iframes to create their own pipeline ID.
This doesn't change any functionality, but it's the first step towards removing SubpageId. Adding this change now will allow us to gradually change over code referencing subpage id rather than in one massive PR. Introduces a namespace for pipeline ID generation - there is a namespace for the constellation thread, and one per script thread.
Diffstat (limited to 'components/devtools')
-rw-r--r--components/devtools/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/devtools/lib.rs b/components/devtools/lib.rs
index c0049b31ad3..c294e4bfa72 100644
--- a/components/devtools/lib.rs
+++ b/components/devtools/lib.rs
@@ -433,7 +433,7 @@ fn run_server(sender: Sender<DevtoolsControlMsg>,
//TODO: Get pipeline_id from NetworkEventMessage after fixing the send in http_loader
// For now, the id of the first pipeline is passed
handle_network_event(actors.clone(), connections, &actor_pipelines, &mut actor_requests,
- &actor_workers, PipelineId(0), request_id, network_event);
+ &actor_workers, PipelineId::fake_root_pipeline_id(), request_id, network_event);
},
Ok(DevtoolsControlMsg::FromChrome(ChromeToDevtoolsControlMsg::ServerExitMsg)) |
Err(RecvError) => break