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

Side by Side Diff: Source/core/css/WebKitCSSArrayFunctionValue.cpp

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/WebKitCSSArrayFunctionValue.h ('k') | Source/core/css/WebKitCSSFilterRule.h » ('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) 2012 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 12 matching lines...) Expand all
23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE. 27 * SUCH DAMAGE.
28 */ 28 */
29 29
30 #include "config.h" 30 #include "config.h"
31 #include "WebKitCSSArrayFunctionValue.h" 31 #include "WebKitCSSArrayFunctionValue.h"
32 32
33 #include "WebCoreMemoryInstrumentation.h"
34
35 namespace WebCore { 33 namespace WebCore {
36 34
37 WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue() 35 WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue()
38 : CSSValueList(WebKitCSSArrayFunctionValueClass, CommaSeparator) 36 : CSSValueList(WebKitCSSArrayFunctionValueClass, CommaSeparator)
39 { 37 {
40 } 38 }
41 39
42 WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue(const WebKitCSSArrayFun ctionValue& cloneFrom) 40 WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue(const WebKitCSSArrayFun ctionValue& cloneFrom)
43 : CSSValueList(cloneFrom) 41 : CSSValueList(cloneFrom)
44 { 42 {
45 } 43 }
46 44
47 String WebKitCSSArrayFunctionValue::customCssText() const 45 String WebKitCSSArrayFunctionValue::customCssText() const
48 { 46 {
49 return "array(" + CSSValueList::customCssText() + ')'; 47 return "array(" + CSSValueList::customCssText() + ')';
50 } 48 }
51 49
52 PassRefPtr<WebKitCSSArrayFunctionValue> WebKitCSSArrayFunctionValue::cloneForCSS OM() const 50 PassRefPtr<WebKitCSSArrayFunctionValue> WebKitCSSArrayFunctionValue::cloneForCSS OM() const
53 { 51 {
54 return adoptRef(new WebKitCSSArrayFunctionValue(*this)); 52 return adoptRef(new WebKitCSSArrayFunctionValue(*this));
55 } 53 }
56 54
57 bool WebKitCSSArrayFunctionValue::equals(const WebKitCSSArrayFunctionValue& othe r) const 55 bool WebKitCSSArrayFunctionValue::equals(const WebKitCSSArrayFunctionValue& othe r) const
58 { 56 {
59 return CSSValueList::equals(other); 57 return CSSValueList::equals(other);
60 } 58 }
61 59
62 void WebKitCSSArrayFunctionValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
63 {
64 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
65 CSSValueList::reportDescendantMemoryUsage(memoryObjectInfo);
66 }
67
68 } // namespace WebCore 60 } // namespace WebCore
69 61
OLDNEW
« no previous file with comments | « Source/core/css/WebKitCSSArrayFunctionValue.h ('k') | Source/core/css/WebKitCSSFilterRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698