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

Unified Diff: Source/core/css/CSSMatrix.cpp

Issue 808763003: Add a UseCounter for WebKitCSSMatrix (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSMatrix.h ('k') | Source/core/css/WebKitCSSMatrix.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
{
« no previous file with comments | « Source/core/css/CSSMatrix.h ('k') | Source/core/css/WebKitCSSMatrix.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698