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

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

Issue 13839016: Remove CSS_SHADERS compile-time flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
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 14 matching lines...) Expand all
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" 33 #include "WebCoreMemoryInstrumentation.h"
34 34
35 #if ENABLE(CSS_SHADERS)
36
37 namespace WebCore { 35 namespace WebCore {
38 36
39 WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue() 37 WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue()
40 : CSSValueList(WebKitCSSArrayFunctionValueClass, CommaSeparator) 38 : CSSValueList(WebKitCSSArrayFunctionValueClass, CommaSeparator)
41 { 39 {
42 } 40 }
43 41
44 WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue(const WebKitCSSArrayFun ctionValue& cloneFrom) 42 WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue(const WebKitCSSArrayFun ctionValue& cloneFrom)
45 : CSSValueList(cloneFrom) 43 : CSSValueList(cloneFrom)
46 { 44 {
(...skipping 15 matching lines...) Expand all
62 } 60 }
63 61
64 void WebKitCSSArrayFunctionValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const 62 void WebKitCSSArrayFunctionValue::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
65 { 63 {
66 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 64 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
67 CSSValueList::reportDescendantMemoryUsage(memoryObjectInfo); 65 CSSValueList::reportDescendantMemoryUsage(memoryObjectInfo);
68 } 66 }
69 67
70 } // namespace WebCore 68 } // namespace WebCore
71 69
72 #endif // ENABLE(CSS_SHADERS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698