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

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

Issue 369713002: Remove destructors from ScriptWrappable objects (part 1) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/clipboard/DataTransferItemList.cpp ('k') | Source/core/frame/DOMPoint.h » ('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 17 matching lines...) Expand all
28 28
29 #include "bindings/core/v8/ScriptWrappable.h" 29 #include "bindings/core/v8/ScriptWrappable.h"
30 #include "platform/transforms/TransformationMatrix.h" 30 #include "platform/transforms/TransformationMatrix.h"
31 #include "wtf/RefCounted.h" 31 #include "wtf/RefCounted.h"
32 #include "wtf/text/WTFString.h" 32 #include "wtf/text/WTFString.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 class ExceptionState; 36 class ExceptionState;
37 37
38 class CSSMatrix FINAL : public RefCountedWillBeGarbageCollectedFinalized<CSSMatr ix>, public ScriptWrappable { 38 class CSSMatrix FINAL : public RefCountedWillBeGarbageCollected<CSSMatrix>, publ ic ScriptWrappable {
39 public: 39 public:
40 static PassRefPtrWillBeRawPtr<CSSMatrix> create(const TransformationMatrix& m) 40 static PassRefPtrWillBeRawPtr<CSSMatrix> create(const TransformationMatrix& m)
41 { 41 {
42 return adoptRefWillBeNoop(new CSSMatrix(m)); 42 return adoptRefWillBeNoop(new CSSMatrix(m));
43 } 43 }
44 static PassRefPtrWillBeRawPtr<CSSMatrix> create(const String& s, ExceptionSt ate& exceptionState) 44 static PassRefPtrWillBeRawPtr<CSSMatrix> create(const String& s, ExceptionSt ate& exceptionState)
45 { 45 {
46 return adoptRefWillBeNoop(new CSSMatrix(s, exceptionState)); 46 return adoptRefWillBeNoop(new CSSMatrix(s, exceptionState));
47 } 47 }
48 48
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 protected: 152 protected:
153 CSSMatrix(const TransformationMatrix&); 153 CSSMatrix(const TransformationMatrix&);
154 CSSMatrix(const String&, ExceptionState&); 154 CSSMatrix(const String&, ExceptionState&);
155 155
156 TransformationMatrix m_matrix; 156 TransformationMatrix m_matrix;
157 }; 157 };
158 158
159 } // namespace WebCore 159 } // namespace WebCore
160 160
161 #endif // CSSMatrix_h 161 #endif // CSSMatrix_h
OLDNEW
« no previous file with comments | « Source/core/clipboard/DataTransferItemList.cpp ('k') | Source/core/frame/DOMPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698