mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Modifications to make the tree view speak to RDF.
This commit is contained in:
parent
962ec07d6f
commit
d4ec7486ce
@ -906,6 +906,7 @@ nsBrowserWindow::DoTreeView()
|
||||
// doesn't refcount the document in which it lives, so you'll
|
||||
// need to keep a pointer to *both* the document and the
|
||||
// content.
|
||||
mTreeView->SetContentRoot(root);
|
||||
NS_RELEASE(root);
|
||||
}
|
||||
NS_RELEASE(doc); // i.e., unless you've refcounted "doc", root dies _now_
|
||||
|
@ -144,6 +144,7 @@ static NS_DEFINE_CID(kPresShellCID, NS_PRESSHELL_CID);
|
||||
static NS_DEFINE_CID(kHTMLStyleSheetCID, NS_HTMLSTYLESHEET_CID);
|
||||
static NS_DEFINE_CID(kTextNodeCID, NS_TEXTNODE_CID);
|
||||
static NS_DEFINE_CID(kSelectionCID, NS_SELECTION_CID);
|
||||
static NS_DEFINE_CID(kRangeListCID, NS_RANGELIST_CID);
|
||||
|
||||
extern "C" void
|
||||
NS_SetupRegistry()
|
||||
@ -208,4 +209,5 @@ NS_SetupRegistry()
|
||||
nsRepository::RegisterFactory(kHTMLStyleSheetCID, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
||||
nsRepository::RegisterFactory(kTextNodeCID, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
||||
nsRepository::RegisterFactory(kSelectionCID, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
||||
nsRepository::RegisterFactory(kRangeListCID, LAYOUT_DLL, PR_FALSE, PR_FALSE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user