Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(786)

Side by Side Diff: WebCore/dom/Document.h

Issue 5753004: Merge 73559 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 Element* cssTarget() const { return m_cssTarget; } 676 Element* cssTarget() const { return m_cssTarget; }
677 677
678 void scheduleForcedStyleRecalc(); 678 void scheduleForcedStyleRecalc();
679 void scheduleStyleRecalc(); 679 void scheduleStyleRecalc();
680 void unscheduleStyleRecalc(); 680 void unscheduleStyleRecalc();
681 bool isPendingStyleRecalc() const; 681 bool isPendingStyleRecalc() const;
682 void styleRecalcTimerFired(Timer<Document>*); 682 void styleRecalcTimerFired(Timer<Document>*);
683 683
684 void attachNodeIterator(NodeIterator*); 684 void attachNodeIterator(NodeIterator*);
685 void detachNodeIterator(NodeIterator*); 685 void detachNodeIterator(NodeIterator*);
686 void moveNodeIteratorsToNewDocument(Node*, Document*);
686 687
687 void attachRange(Range*); 688 void attachRange(Range*);
688 void detachRange(Range*); 689 void detachRange(Range*);
689 690
690 void nodeChildrenChanged(ContainerNode*); 691 void nodeChildrenChanged(ContainerNode*);
691 // nodeChildrenWillBeRemoved is used when removing all node children at once . 692 // nodeChildrenWillBeRemoved is used when removing all node children at once .
692 void nodeChildrenWillBeRemoved(ContainerNode*); 693 void nodeChildrenWillBeRemoved(ContainerNode*);
693 // nodeWillBeRemoved is only safe when removing one node at a time. 694 // nodeWillBeRemoved is only safe when removing one node at a time.
694 void nodeWillBeRemoved(Node*); 695 void nodeWillBeRemoved(Node*);
695 696
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
1418 if (m_document) 1419 if (m_document)
1419 m_document->selfOnlyRef(); 1420 m_document->selfOnlyRef();
1420 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) 1421 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS)
1421 trackForDebugging(); 1422 trackForDebugging();
1422 #endif 1423 #endif
1423 } 1424 }
1424 1425
1425 } // namespace WebCore 1426 } // namespace WebCore
1426 1427
1427 #endif // Document_h 1428 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/node-iterator-document-moved-crash-expected.txt ('k') | WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698