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

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

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. 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.cpp ('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 fe9afe3a3e233aca95b4b74075e8b3949e58ee78..fe48f7a6139c8c6581c392cf28b6e80be548bb7a 100644
--- a/Source/core/html/canvas/Path2D.h
+++ b/Source/core/html/canvas/Path2D.h
@@ -67,27 +67,17 @@ public:
void trace(Visitor*) { }
private:
- Path2D() : CanvasPathMethods()
- {
- ScriptWrappable::init(this);
- }
+ Path2D() : CanvasPathMethods() { }
Path2D(const Path& path)
- : CanvasPathMethods(path)
- {
- ScriptWrappable::init(this);
- }
+ : CanvasPathMethods(path) { }
Path2D(Path2D* path)
- : CanvasPathMethods(path->path())
- {
- ScriptWrappable::init(this);
- }
+ : CanvasPathMethods(path->path()) { }
Path2D(const String& pathData)
: CanvasPathMethods()
{
- ScriptWrappable::init(this);
buildPathFromString(pathData, m_path);
}
};
« no previous file with comments | « Source/core/html/canvas/OESVertexArrayObject.cpp ('k') | Source/core/html/canvas/WebGLActiveInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698