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

Side by Side Diff: Source/core/css/CSSMatrix.h

Issue 41003003: Remove virtual destructors for CSSMatrix and CSSVariablesMap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | Source/core/css/CSSMatrix.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 28 matching lines...) Expand all
39 public: 39 public:
40 static PassRefPtr<CSSMatrix> create(const TransformationMatrix& m) 40 static PassRefPtr<CSSMatrix> create(const TransformationMatrix& m)
41 { 41 {
42 return adoptRef(new CSSMatrix(m)); 42 return adoptRef(new CSSMatrix(m));
43 } 43 }
44 static PassRefPtr<CSSMatrix> create(const String& s, ExceptionState& es) 44 static PassRefPtr<CSSMatrix> create(const String& s, ExceptionState& es)
45 { 45 {
46 return adoptRef(new CSSMatrix(s, es)); 46 return adoptRef(new CSSMatrix(s, es));
47 } 47 }
48 48
49 virtual ~CSSMatrix();
50
51 double a() const { return m_matrix.a(); } 49 double a() const { return m_matrix.a(); }
52 double b() const { return m_matrix.b(); } 50 double b() const { return m_matrix.b(); }
53 double c() const { return m_matrix.c(); } 51 double c() const { return m_matrix.c(); }
54 double d() const { return m_matrix.d(); } 52 double d() const { return m_matrix.d(); }
55 double e() const { return m_matrix.e(); } 53 double e() const { return m_matrix.e(); }
56 double f() const { return m_matrix.f(); } 54 double f() const { return m_matrix.f(); }
57 55
58 void setA(double f) { m_matrix.setA(f); } 56 void setA(double f) { m_matrix.setA(f); }
59 void setB(double f) { m_matrix.setB(f); } 57 void setB(double f) { m_matrix.setB(f); }
60 void setC(double f) { m_matrix.setC(f); } 58 void setC(double f) { m_matrix.setC(f); }
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 protected: 150 protected:
153 CSSMatrix(const TransformationMatrix&); 151 CSSMatrix(const TransformationMatrix&);
154 CSSMatrix(const String&, ExceptionState&); 152 CSSMatrix(const String&, ExceptionState&);
155 153
156 TransformationMatrix m_matrix; 154 TransformationMatrix m_matrix;
157 }; 155 };
158 156
159 } // namespace WebCore 157 } // namespace WebCore
160 158
161 #endif // CSSMatrix_h 159 #endif // CSSMatrix_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/CSSMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698