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

Unified Diff: Source/core/svg/SVGFEConvolveMatrixElement.cpp

Issue 195313003: [SVG2] Add getters and setters to SVG*List interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: s/slength/size Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGFEColorMatrixElement.cpp ('k') | Source/core/svg/SVGLengthList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEConvolveMatrixElement.cpp
diff --git a/Source/core/svg/SVGFEConvolveMatrixElement.cpp b/Source/core/svg/SVGFEConvolveMatrixElement.cpp
index 113ee2d6b1b5183f831d4ddacc27b8c65bb260a5..ff626f20c85df2da2b0730f9f5658bc60b717f7f 100644
--- a/Source/core/svg/SVGFEConvolveMatrixElement.cpp
+++ b/Source/core/svg/SVGFEConvolveMatrixElement.cpp
@@ -203,7 +203,7 @@ PassRefPtr<FilterEffect> SVGFEConvolveMatrixElement::build(SVGFilterBuilder* fil
if (orderXValue < 1 || orderYValue < 1)
return nullptr;
RefPtr<SVGNumberList> kernelMatrix = this->m_kernelMatrix->currentValue();
- size_t kernelMatrixSize = kernelMatrix->numberOfItems();
+ size_t kernelMatrixSize = kernelMatrix->length();
// The spec says this is a requirement, and should bail out if fails
if (orderXValue * orderYValue != static_cast<int>(kernelMatrixSize))
return nullptr;
« no previous file with comments | « Source/core/svg/SVGFEColorMatrixElement.cpp ('k') | Source/core/svg/SVGLengthList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698