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

Side by Side Diff: Source/core/platform/graphics/filters/custom/ValidatedCustomFilterOperation.cpp

Issue 34273002: Remove UnusedParam.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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 "core/platform/graphics/filters/custom/ValidatedCustomFilterOperation.h " 31 #include "core/platform/graphics/filters/custom/ValidatedCustomFilterOperation.h "
32 32
33 #include "core/platform/graphics/filters/custom/CustomFilterValidatedProgram.h" 33 #include "core/platform/graphics/filters/custom/CustomFilterValidatedProgram.h"
34 #include "platform/graphics/filters/custom/CustomFilterParameter.h" 34 #include "platform/graphics/filters/custom/CustomFilterParameter.h"
35 #include "wtf/UnusedParam.h"
36 35
37 namespace WebCore { 36 namespace WebCore {
38 37
39 ValidatedCustomFilterOperation::ValidatedCustomFilterOperation(PassRefPtr<Custom FilterValidatedProgram> validatedProgram, 38 ValidatedCustomFilterOperation::ValidatedCustomFilterOperation(PassRefPtr<Custom FilterValidatedProgram> validatedProgram,
40 const CustomFilterParameterList& sortedParameters, unsigned meshRows, unsign ed meshColumns, CustomFilterMeshType meshType) 39 const CustomFilterParameterList& sortedParameters, unsigned meshRows, unsign ed meshColumns, CustomFilterMeshType meshType)
41 : FilterOperation(VALIDATED_CUSTOM) 40 : FilterOperation(VALIDATED_CUSTOM)
42 , m_validatedProgram(validatedProgram) 41 , m_validatedProgram(validatedProgram)
43 , m_parameters(sortedParameters) 42 , m_parameters(sortedParameters)
44 , m_meshRows(meshRows) 43 , m_meshRows(meshRows)
45 , m_meshColumns(meshColumns) 44 , m_meshColumns(meshColumns)
46 , m_meshType(meshType) 45 , m_meshType(meshType)
47 { 46 {
48 } 47 }
49 48
50 ValidatedCustomFilterOperation::~ValidatedCustomFilterOperation() 49 ValidatedCustomFilterOperation::~ValidatedCustomFilterOperation()
51 { 50 {
52 } 51 }
53 52
54 PassRefPtr<FilterOperation> ValidatedCustomFilterOperation::blend(const FilterOp eration*, double) const 53 PassRefPtr<FilterOperation> ValidatedCustomFilterOperation::blend(const FilterOp eration*, double) const
55 { 54 {
56 ASSERT_NOT_REACHED(); 55 ASSERT_NOT_REACHED();
57 return const_cast<ValidatedCustomFilterOperation*>(this); 56 return const_cast<ValidatedCustomFilterOperation*>(this);
58 } 57 }
59 58
60 } // namespace WebCore 59 } // namespace WebCore
61 60
OLDNEW
« no previous file with comments | « Source/core/page/scrolling/ScrollingCoordinator.cpp ('k') | Source/core/rendering/RenderFlowThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698