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

Side by Side Diff: Source/core/css/StylePropertySet.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation 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/core/css/ShadowValue.cpp ('k') | Source/core/css/StylePropertySet.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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 PropertySetCSSStyleDeclaration* cssStyleDeclaration(); 150 PropertySetCSSStyleDeclaration* cssStyleDeclaration();
151 CSSStyleDeclaration* ensureCSSStyleDeclaration(); 151 CSSStyleDeclaration* ensureCSSStyleDeclaration();
152 CSSStyleDeclaration* ensureInlineCSSStyleDeclaration(const StyledElement* pa rentElement); 152 CSSStyleDeclaration* ensureInlineCSSStyleDeclaration(const StyledElement* pa rentElement);
153 153
154 bool isMutable() const { return m_isMutable; } 154 bool isMutable() const { return m_isMutable; }
155 bool hasCSSOMWrapper() const { return m_ownsCSSOMWrapper; } 155 bool hasCSSOMWrapper() const { return m_ownsCSSOMWrapper; }
156 156
157 bool hasFailedOrCanceledSubresources() const; 157 bool hasFailedOrCanceledSubresources() const;
158 158
159 static unsigned averageSizeInBytes(); 159 static unsigned averageSizeInBytes();
160 void reportMemoryUsage(MemoryObjectInfo*) const;
161 160
162 #ifndef NDEBUG 161 #ifndef NDEBUG
163 void showStyle(); 162 void showStyle();
164 #endif 163 #endif
165 164
166 const CSSValue** immutableValueArray() const; 165 const CSSValue** immutableValueArray() const;
167 const StylePropertyMetadata* immutableMetadataArray() const; 166 const StylePropertyMetadata* immutableMetadataArray() const;
168 167
169 protected: 168 protected:
170 StylePropertySet(CSSParserMode cssParserMode) 169 StylePropertySet(CSSParserMode cssParserMode)
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 276
278 if (m_isMutable) 277 if (m_isMutable)
279 delete static_cast<MutableStylePropertySet*>(this); 278 delete static_cast<MutableStylePropertySet*>(this);
280 else 279 else
281 delete static_cast<ImmutableStylePropertySet*>(this); 280 delete static_cast<ImmutableStylePropertySet*>(this);
282 } 281 }
283 282
284 } // namespace WebCore 283 } // namespace WebCore
285 284
286 #endif // StylePropertySet_h 285 #endif // StylePropertySet_h
OLDNEW
« no previous file with comments | « Source/core/css/ShadowValue.cpp ('k') | Source/core/css/StylePropertySet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698