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

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

Issue 18097008: Remove unused startIgnoringLeaks and stopIgnoringLeaks functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch should be ready for review Created 7 years, 5 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
« no previous file with comments | « no previous file | Source/core/dom/Node.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 * 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 DOCUMENT_POSITION_CONTAINED_BY = 0x10, 157 DOCUMENT_POSITION_CONTAINED_BY = 0x10,
158 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20, 158 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20,
159 }; 159 };
160 160
161 // All Nodes are placed in their own heap partition for security. 161 // All Nodes are placed in their own heap partition for security.
162 // See http://crbug.com/246860 for detail. 162 // See http://crbug.com/246860 for detail.
163 void* operator new(size_t); 163 void* operator new(size_t);
164 void operator delete(void*); 164 void operator delete(void*);
165 165
166 static bool isSupported(const String& feature, const String& version); 166 static bool isSupported(const String& feature, const String& version);
167
168 static void startIgnoringLeaks();
169 static void stopIgnoringLeaks();
170
171 static void dumpStatistics(); 167 static void dumpStatistics();
172 168
173 enum StyleChange { NoChange, NoInherit, Inherit, Detach, Force }; 169 enum StyleChange { NoChange, NoInherit, Inherit, Detach, Force };
174 static StyleChange diff(const RenderStyle*, const RenderStyle*, Document*); 170 static StyleChange diff(const RenderStyle*, const RenderStyle*, Document*);
175 171
176 virtual ~Node(); 172 virtual ~Node();
177 void willBeDeletedFrom(Document*); 173 void willBeDeletedFrom(Document*);
178 174
179 // DOM methods & attributes for Node 175 // DOM methods & attributes for Node
180 176
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 937
942 } //namespace 938 } //namespace
943 939
944 #ifndef NDEBUG 940 #ifndef NDEBUG
945 // Outside the WebCore namespace for ease of invocation from gdb. 941 // Outside the WebCore namespace for ease of invocation from gdb.
946 void showTree(const WebCore::Node*); 942 void showTree(const WebCore::Node*);
947 void showNodePath(const WebCore::Node*); 943 void showNodePath(const WebCore::Node*);
948 #endif 944 #endif
949 945
950 #endif 946 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698