зеркало из https://github.com/mozilla/gecko-dev.git
Try to fix trunk bustage, sync with RDF API changes.
This commit is contained in:
Родитель
9a6ff99344
Коммит
d194d3b936
|
@ -406,7 +406,7 @@
|
|||
isExpandable = YES;
|
||||
|
||||
nsCOMPtr<nsIRDFResource> childProperty;
|
||||
mRDFService->GetResource("http://home.netscape.com/NC-rdf#child", getter_AddRefs(childProperty));
|
||||
mRDFService->GetResource(nsDependentCString("http://home.netscape.com/NC-rdf#child"), getter_AddRefs(childProperty));
|
||||
|
||||
nsCOMPtr<nsISimpleEnumerator> childNodes;
|
||||
mDataSource->GetTargets(itemResource, childProperty, PR_TRUE, getter_AddRefs(childNodes));
|
||||
|
@ -439,7 +439,7 @@
|
|||
- (NSString*)getPropertyString:(NSString*)inPropertyURI forItem:(RDFOutlineViewItem*)inItem
|
||||
{
|
||||
nsCOMPtr<nsIRDFResource> propertyResource;
|
||||
mRDFService->GetResource([inPropertyURI UTF8String], getter_AddRefs(propertyResource));
|
||||
mRDFService->GetResource(nsDependentCString([inPropertyURI UTF8String]), getter_AddRefs(propertyResource));
|
||||
|
||||
nsCOMPtr<nsIRDFResource> resource = dont_AddRef([inItem resource]);
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ HistoryDataSourceObserver::OnChange(nsIRDFDataSource*, nsIRDFResource*,
|
|||
// Get the Global History DataSource
|
||||
mRDFService->GetDataSource("rdf:history", &mDataSource);
|
||||
// Get the Date Folder Root
|
||||
mRDFService->GetResource("NC:HistoryByDate", &mRootResource);
|
||||
mRDFService->GetResource(nsDependentCString("NC:HistoryByDate"), &mRootResource);
|
||||
|
||||
[mOutlineView setTarget: self];
|
||||
[mOutlineView setDoubleAction: @selector(openHistoryItem:)];
|
||||
|
|
|
@ -406,7 +406,7 @@
|
|||
isExpandable = YES;
|
||||
|
||||
nsCOMPtr<nsIRDFResource> childProperty;
|
||||
mRDFService->GetResource("http://home.netscape.com/NC-rdf#child", getter_AddRefs(childProperty));
|
||||
mRDFService->GetResource(nsDependentCString("http://home.netscape.com/NC-rdf#child"), getter_AddRefs(childProperty));
|
||||
|
||||
nsCOMPtr<nsISimpleEnumerator> childNodes;
|
||||
mDataSource->GetTargets(itemResource, childProperty, PR_TRUE, getter_AddRefs(childNodes));
|
||||
|
@ -439,7 +439,7 @@
|
|||
- (NSString*)getPropertyString:(NSString*)inPropertyURI forItem:(RDFOutlineViewItem*)inItem
|
||||
{
|
||||
nsCOMPtr<nsIRDFResource> propertyResource;
|
||||
mRDFService->GetResource([inPropertyURI UTF8String], getter_AddRefs(propertyResource));
|
||||
mRDFService->GetResource(nsDependentCString([inPropertyURI UTF8String]), getter_AddRefs(propertyResource));
|
||||
|
||||
nsCOMPtr<nsIRDFResource> resource = dont_AddRef([inItem resource]);
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ HistoryDataSourceObserver::OnChange(nsIRDFDataSource*, nsIRDFResource*,
|
|||
// Get the Global History DataSource
|
||||
mRDFService->GetDataSource("rdf:history", &mDataSource);
|
||||
// Get the Date Folder Root
|
||||
mRDFService->GetResource("NC:HistoryByDate", &mRootResource);
|
||||
mRDFService->GetResource(nsDependentCString("NC:HistoryByDate"), &mRootResource);
|
||||
|
||||
[mOutlineView setTarget: self];
|
||||
[mOutlineView setDoubleAction: @selector(openHistoryItem:)];
|
||||
|
|
Загрузка…
Ссылка в новой задаче