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

Unified Diff: Source/core/html/canvas/CanvasGradient.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/Canvas2DContextAttributes.h ('k') | Source/core/html/canvas/CanvasPattern.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/CanvasGradient.h
diff --git a/Source/core/html/canvas/CanvasGradient.h b/Source/core/html/canvas/CanvasGradient.h
index 630f07d3e18bf54a8357819b520895706af80b95..9516f177d4b6622a3885ae3e04ee0ec93af2be1e 100644
--- a/Source/core/html/canvas/CanvasGradient.h
+++ b/Source/core/html/canvas/CanvasGradient.h
@@ -39,6 +39,7 @@ namespace blink {
class ExceptionState;
class CanvasGradient FINAL : public RefCountedWillBeGarbageCollectedFinalized<CanvasGradient>, public ScriptWrappable {
+ DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<CanvasGradient> create(const FloatPoint& p0, const FloatPoint& p1)
{
@@ -62,6 +63,6 @@ private:
RefPtr<Gradient> m_gradient;
};
-} //namespace
+} // namespace blink
-#endif
+#endif // CanvasGradient_h
« no previous file with comments | « Source/core/html/canvas/Canvas2DContextAttributes.h ('k') | Source/core/html/canvas/CanvasPattern.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698