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

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

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/WebCore/dom/DeviceOrientationEvent.cpp ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights 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 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 1581 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 return this == documentInternal(); 1592 return this == documentInternal();
1593 } 1593 }
1594 1594
1595 inline Node::Node(Document* document, ConstructionType type) 1595 inline Node::Node(Document* document, ConstructionType type)
1596 : m_nodeFlags(type) 1596 : m_nodeFlags(type)
1597 , m_parentOrShadowHostNode(0) 1597 , m_parentOrShadowHostNode(0)
1598 , m_treeScope(document) 1598 , m_treeScope(document)
1599 , m_previous(0) 1599 , m_previous(0)
1600 , m_next(0) 1600 , m_next(0)
1601 { 1601 {
1602 ScriptWrappable::init(this);
1602 if (!m_treeScope) 1603 if (!m_treeScope)
1603 m_treeScope = TreeScope::noDocumentInstance(); 1604 m_treeScope = TreeScope::noDocumentInstance();
1604 m_treeScope->guardRef(); 1605 m_treeScope->guardRef();
1605 1606
1606 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS) 1607 #if !defined(NDEBUG) || (defined(DUMP_NODE_STATISTICS) && DUMP_NODE_STATISTICS)
1607 trackForDebugging(); 1608 trackForDebugging();
1608 #endif 1609 #endif
1609 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter); 1610 InspectorCounters::incrementCounter(InspectorCounters::NodeCounter);
1610 } 1611 }
1611 1612
1612 Node* eventTargetNodeForDocument(Document*); 1613 Node* eventTargetNodeForDocument(Document*);
1613 1614
1614 } // namespace WebCore 1615 } // namespace WebCore
1615 1616
1616 #endif // Document_h 1617 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/WebCore/dom/DeviceOrientationEvent.cpp ('k') | Source/WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698