| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Simon Hausmann <hausmann@kde.org> | 5 * 2000 Simon Hausmann <hausmann@kde.org> |
| 6 * 2000 Stefan Schimanski <1Stein@gmx.de> | 6 * 2000 Stefan Schimanski <1Stein@gmx.de> |
| 7 * 2001 George Staikos <staikos@kde.org> | 7 * 2001 George Staikos <staikos@kde.org> |
| 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> | 9 * Copyright (C) 2005 Alexey Proskuryakov <ap@nypop.com> |
| 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 | 609 |
| 610 void LocalFrame::disconnectOwnerElement() | 610 void LocalFrame::disconnectOwnerElement() |
| 611 { | 611 { |
| 612 if (ownerElement()) { | 612 if (ownerElement()) { |
| 613 if (Document* doc = document()) | 613 if (Document* doc = document()) |
| 614 doc->topDocument().clearAXObjectCache(); | 614 doc->topDocument().clearAXObjectCache(); |
| 615 } | 615 } |
| 616 Frame::disconnectOwnerElement(); | 616 Frame::disconnectOwnerElement(); |
| 617 } | 617 } |
| 618 | 618 |
| 619 LocalFrame* LocalFrame::localFrameRoot() |
| 620 { |
| 621 LocalFrame* curFrame = this; |
| 622 while (curFrame && curFrame->tree().parent() && curFrame->tree().parent()->i
sLocalFrame()) |
| 623 curFrame = curFrame->tree().parent(); |
| 624 |
| 625 return curFrame; |
| 626 } |
| 627 |
| 619 } // namespace WebCore | 628 } // namespace WebCore |
| OLD | NEW |