Index: Source/core/css/CSSMatrix.cpp |
diff --git a/Source/core/css/CSSMatrix.cpp b/Source/core/css/CSSMatrix.cpp |
index 4ae6ebb046c7c2e1c58c14374d887ad0c1eca96e..18c0099a236f0ab26ecd5b241b7638833c41478a 100644 |
--- a/Source/core/css/CSSMatrix.cpp |
+++ b/Source/core/css/CSSMatrix.cpp |
@@ -34,12 +34,19 @@ |
#include "core/css/parser/CSSParser.h" |
#include "core/css/resolver/TransformBuilder.h" |
#include "core/dom/ExceptionCode.h" |
+#include "core/frame/UseCounter.h" |
#include "core/rendering/style/RenderStyle.h" |
#include "core/rendering/style/StyleInheritedData.h" |
#include "wtf/MathExtras.h" |
namespace blink { |
+PassRefPtrWillBeRawPtr<CSSMatrix> CSSMatrix::create(ExecutionContext* executionContext, const String& s, ExceptionState& exceptionState) |
+{ |
+ UseCounter::count(executionContext, UseCounter::WebKitCSSMatrix); |
+ return adoptRefWillBeNoop(new CSSMatrix(s, exceptionState)); |
+} |
+ |
CSSMatrix::CSSMatrix(const TransformationMatrix& m) |
: m_matrix(m) |
{ |