Merge pull request #3379 from cgaebel/bucketed-timing

Added more complex profiling metadata.
This commit is contained in:
Clark Gaebel 2014-09-18 09:12:34 -07:00
commit 1b251db732
10 changed files with 123 additions and 69 deletions

View file

@ -142,6 +142,8 @@ pub struct Reflow {
pub goal: ReflowGoal,
/// The URL of the page.
pub url: Url,
/// Is the current reflow of an iframe, as opposed to a root window?
pub iframe: bool,
/// The channel through which messages can be sent back to the script task.
pub script_chan: ScriptControlChan,
/// The current window size.

View file

@ -374,6 +374,7 @@ impl Page {
let reflow = box Reflow {
document_root: root.to_trusted_node_address(),
url: self.get_url(),
iframe: self.subpage_id.is_some(),
goal: goal,
window_size: window_size,
script_chan: script_chan,