mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Force the tree demo to dump the content model before displaying the tree.
This commit is contained in:
parent
199b6771f3
commit
d86a0959f9
@ -902,6 +902,10 @@ nsBrowserWindow::DoTreeView()
|
||||
if (NS_SUCCEEDED(rv = rdf_CreateBookmarkDocument(doc))) {
|
||||
nsIContent* root = doc->GetRootContent();
|
||||
if (root) {
|
||||
// XXX Dump the content model that the tree is going to be built
|
||||
// on.
|
||||
root->List();
|
||||
|
||||
// XXX do whatever here. Note that the RDF nsIContent currently
|
||||
// doesn't refcount the document in which it lives, so you'll
|
||||
// need to keep a pointer to *both* the document and the
|
||||
|
Loading…
Reference in New Issue
Block a user