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

Side by Side Diff: Source/core/css/CSSProperty.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/CSSPrimitiveValue.cpp ('k') | Source/core/css/CSSProperty.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 Apple Computer, Inc. 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc.
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 CSSPropertyID shorthandID() const { return static_cast<CSSPropertyID>(m_meta data.m_shorthandID); } 72 CSSPropertyID shorthandID() const { return static_cast<CSSPropertyID>(m_meta data.m_shorthandID); }
73 bool isImportant() const { return m_metadata.m_important; } 73 bool isImportant() const { return m_metadata.m_important; }
74 74
75 CSSValue* value() const { return m_value.get(); } 75 CSSValue* value() const { return m_value.get(); }
76 76
77 void wrapValueInCommaSeparatedList(); 77 void wrapValueInCommaSeparatedList();
78 78
79 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect ion, WritingMode); 79 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect ion, WritingMode);
80 static bool isInheritedProperty(CSSPropertyID); 80 static bool isInheritedProperty(CSSPropertyID);
81 81
82 void reportMemoryUsage(MemoryObjectInfo*) const;
83
84 StylePropertyMetadata metadata() const { return m_metadata; } 82 StylePropertyMetadata metadata() const { return m_metadata; }
85 83
86 private: 84 private:
87 StylePropertyMetadata m_metadata; 85 StylePropertyMetadata m_metadata;
88 RefPtr<CSSValue> m_value; 86 RefPtr<CSSValue> m_value;
89 }; 87 };
90 88
91 inline CSSPropertyID prefixingVariantForPropertyId(CSSPropertyID propId) 89 inline CSSPropertyID prefixingVariantForPropertyId(CSSPropertyID propId)
92 { 90 {
93 CSSPropertyID propertyId = CSSPropertyInvalid; 91 CSSPropertyID propertyId = CSSPropertyInvalid;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } // namespace WebCore 131 } // namespace WebCore
134 132
135 namespace WTF { 133 namespace WTF {
136 template <> struct VectorTraits<WebCore::CSSProperty> : VectorTraitsBase<false, WebCore::CSSProperty> { 134 template <> struct VectorTraits<WebCore::CSSProperty> : VectorTraitsBase<false, WebCore::CSSProperty> {
137 static const bool canInitializeWithMemset = true; 135 static const bool canInitializeWithMemset = true;
138 static const bool canMoveWithMemcpy = true; 136 static const bool canMoveWithMemcpy = true;
139 }; 137 };
140 } 138 }
141 139
142 #endif // CSSProperty_h 140 #endif // CSSProperty_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSPrimitiveValue.cpp ('k') | Source/core/css/CSSProperty.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698