зеркало из https://github.com/mozilla/gecko-dev.git
Bug 549259 [@ nsAnnotationService::StartGetAnnotation]
r=mak --HG-- extra : rebase_source : f7504195843a57c0e6226c874f955f0073e6523c
This commit is contained in:
Родитель
9f0e6d8e45
Коммит
f53563ace8
|
@ -1903,7 +1903,7 @@ nsAnnotationService::StartGetAnnotation(nsIURI* aURI,
|
|||
|
||||
*_statement = isItemAnnotation ? GetStatement(mDBGetItemAnnotationValue)
|
||||
: GetStatement(mDBGetPageAnnotationValue);
|
||||
NS_ENSURE_STATE(_statement);
|
||||
NS_ENSURE_STATE(*_statement);
|
||||
mozStorageStatementScoper getAnnoScoper(*_statement);
|
||||
|
||||
nsresult rv;
|
||||
|
@ -2000,7 +2000,7 @@ nsAnnotationService::StartSetAnnotation(nsIURI* aURI,
|
|||
|
||||
*_statement = isItemAnnotation ? GetStatement(mDBAddItemAnnotation)
|
||||
: GetStatement(mDBAddPageAnnotation);
|
||||
NS_ENSURE_STATE(_statement);
|
||||
NS_ENSURE_STATE(*_statement);
|
||||
mozStorageStatementScoper setAnnoScoper(*_statement);
|
||||
|
||||
// Don't replace existing annotations.
|
||||
|
|
Загрузка…
Ссылка в новой задаче