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

Side by Side Diff: Source/core/css/CSSValue.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/CSSUnknownRule.h ('k') | Source/core/css/CSSValue.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, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 #endif 109 #endif
110 || isValueList(); 110 || isValueList();
111 } 111 }
112 112
113 PassRefPtr<CSSValue> cloneForCSSOM() const; 113 PassRefPtr<CSSValue> cloneForCSSOM() const;
114 114
115 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*) const; 115 void addSubresourceStyleURLs(ListHashSet<KURL>&, const StyleSheetContents*) const;
116 116
117 bool hasFailedOrCanceledSubresources() const; 117 bool hasFailedOrCanceledSubresources() const;
118 118
119 void reportMemoryUsage(MemoryObjectInfo*) const;
120
121 bool equals(const CSSValue&) const; 119 bool equals(const CSSValue&) const;
122 120
123 protected: 121 protected:
124 122
125 static const size_t ClassTypeBits = 6; 123 static const size_t ClassTypeBits = 6;
126 enum ClassType { 124 enum ClassType {
127 PrimitiveClass, 125 PrimitiveClass,
128 126
129 // Image classes. 127 // Image classes.
130 ImageClass, 128 ImageClass,
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 239
242 template<typename CSSValueType> 240 template<typename CSSValueType>
243 inline bool compareCSSValuePtr(const RefPtr<CSSValueType>& first, const RefPtr<C SSValueType>& second) 241 inline bool compareCSSValuePtr(const RefPtr<CSSValueType>& first, const RefPtr<C SSValueType>& second)
244 { 242 {
245 return first ? second && first->equals(*second) : !second; 243 return first ? second && first->equals(*second) : !second;
246 } 244 }
247 245
248 } // namespace WebCore 246 } // namespace WebCore
249 247
250 #endif // CSSValue_h 248 #endif // CSSValue_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSUnknownRule.h ('k') | Source/core/css/CSSValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698