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

Unified Diff: Source/core/html/canvas/Path2D.h

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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/html/canvas/OESVertexArrayObject.h ('k') | Source/core/html/canvas/WebGLActiveInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/Path2D.h
diff --git a/Source/core/html/canvas/Path2D.h b/Source/core/html/canvas/Path2D.h
index 49b2bec163f2b70bb72c08a953f9d12412063c80..fe9afe3a3e233aca95b4b74075e8b3949e58ee78 100644
--- a/Source/core/html/canvas/Path2D.h
+++ b/Source/core/html/canvas/Path2D.h
@@ -40,7 +40,9 @@
namespace blink {
class Path2D FINAL : public RefCountedWillBeGarbageCollectedFinalized<Path2D>, public CanvasPathMethods, public ScriptWrappable {
- WTF_MAKE_NONCOPYABLE(Path2D); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
+ DEFINE_WRAPPERTYPEINFO();
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
+ WTF_MAKE_NONCOPYABLE(Path2D);
public:
static PassRefPtrWillBeRawPtr<Path2D> create() { return adoptRefWillBeNoop(new Path2D); }
static PassRefPtrWillBeRawPtr<Path2D> create(const String& pathData) { return adoptRefWillBeNoop(new Path2D(pathData)); }
@@ -90,5 +92,6 @@ private:
}
};
-}
-#endif
+} // namespace blink
+
+#endif // Path2D_h
« no previous file with comments | « Source/core/html/canvas/OESVertexArrayObject.h ('k') | Source/core/html/canvas/WebGLActiveInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698