зеркало из https://github.com/mozilla/pjs.git
Fix Firebird redness
This commit is contained in:
Родитель
7274cc57a6
Коммит
2b924cb4fd
|
@ -114,8 +114,7 @@ GetScreenOrigin(nsIDOMElement* aElement)
|
|||
nsSize size;
|
||||
|
||||
nsCOMPtr<nsIContent> content = do_QueryInterface(aElement);
|
||||
nsCOMPtr<nsIDocument> doc;
|
||||
content->GetDocument(getter_AddRefs(doc));
|
||||
nsCOMPtr<nsIDocument> doc = content->GetDocument();
|
||||
|
||||
if (doc) {
|
||||
// Get Presentation shell 0
|
||||
|
|
Загрузка…
Ссылка в новой задаче