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

Side by Side Diff: Source/core/dom/Node.h

Issue 16896019: Replace RenderArena with PartitionAlloc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
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 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 class NodeListsNodeData; 68 class NodeListsNodeData;
69 class NodeRareData; 69 class NodeRareData;
70 class NodeRenderingContext; 70 class NodeRenderingContext;
71 class PlatformGestureEvent; 71 class PlatformGestureEvent;
72 class PlatformKeyboardEvent; 72 class PlatformKeyboardEvent;
73 class PlatformMouseEvent; 73 class PlatformMouseEvent;
74 class PlatformWheelEvent; 74 class PlatformWheelEvent;
75 class QualifiedName; 75 class QualifiedName;
76 class RadioNodeList; 76 class RadioNodeList;
77 class RegisteredEventListener; 77 class RegisteredEventListener;
78 class RenderArena;
79 class RenderBox; 78 class RenderBox;
80 class RenderBoxModelObject; 79 class RenderBoxModelObject;
81 class RenderObject; 80 class RenderObject;
82 class RenderStyle; 81 class RenderStyle;
83 class ShadowRoot; 82 class ShadowRoot;
84 class TagNodeList; 83 class TagNodeList;
85 class TouchEvent; 84 class TouchEvent;
86 85
87 typedef int ExceptionCode; 86 typedef int ExceptionCode;
88 87
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 DOCUMENT_POSITION_DISCONNECTED = 0x01, 150 DOCUMENT_POSITION_DISCONNECTED = 0x01,
152 DOCUMENT_POSITION_PRECEDING = 0x02, 151 DOCUMENT_POSITION_PRECEDING = 0x02,
153 DOCUMENT_POSITION_FOLLOWING = 0x04, 152 DOCUMENT_POSITION_FOLLOWING = 0x04,
154 DOCUMENT_POSITION_CONTAINS = 0x08, 153 DOCUMENT_POSITION_CONTAINS = 0x08,
155 DOCUMENT_POSITION_CONTAINED_BY = 0x10, 154 DOCUMENT_POSITION_CONTAINED_BY = 0x10,
156 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20, 155 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20,
157 }; 156 };
158 157
159 static void init(); 158 static void init();
160 static void shutdown(); 159 static void shutdown();
160
161 #if ENABLE(PARTITION_ALLOC) 161 #if ENABLE(PARTITION_ALLOC)
162 // All Nodes are placed in their own heap partition for security. 162 // Nodes are placed in their own heap partition for security.
163 // See http://crbug.com/246860 for detail. 163 // See http://crbug.com/246860 for detail.
164 void* operator new(size_t); 164 void* operator new(size_t);
165 void operator delete(void*); 165 void operator delete(void*);
166 #endif 166 #endif
167 167
168 static bool isSupported(const String& feature, const String& version); 168 static bool isSupported(const String& feature, const String& version);
169 169
170 static void startIgnoringLeaks(); 170 static void startIgnoringLeaks();
171 static void stopIgnoringLeaks(); 171 static void stopIgnoringLeaks();
172 172
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 928
929 } //namespace 929 } //namespace
930 930
931 #ifndef NDEBUG 931 #ifndef NDEBUG
932 // Outside the WebCore namespace for ease of invocation from gdb. 932 // Outside the WebCore namespace for ease of invocation from gdb.
933 void showTree(const WebCore::Node*); 933 void showTree(const WebCore::Node*);
934 void showNodePath(const WebCore::Node*); 934 void showNodePath(const WebCore::Node*);
935 #endif 935 #endif
936 936
937 #endif 937 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698