| Index: third_party/WebKit/Source/modules/canvas2d/CanvasPath.h
|
| diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasPathMethods.h b/third_party/WebKit/Source/modules/canvas2d/CanvasPath.h
|
| similarity index 90%
|
| rename from third_party/WebKit/Source/modules/canvas2d/CanvasPathMethods.h
|
| rename to third_party/WebKit/Source/modules/canvas2d/CanvasPath.h
|
| index 192e7b64e9f36a9e5cc27c2e15b3bc63a3403600..1c8817191585a36a7d8acac79e4f8348ce10283e 100644
|
| --- a/third_party/WebKit/Source/modules/canvas2d/CanvasPathMethods.h
|
| +++ b/third_party/WebKit/Source/modules/canvas2d/CanvasPath.h
|
| @@ -27,8 +27,8 @@
|
| * SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef CanvasPathMethods_h
|
| -#define CanvasPathMethods_h
|
| +#ifndef CanvasPath_h
|
| +#define CanvasPath_h
|
|
|
| #include "modules/ModulesExport.h"
|
| #include "platform/graphics/Path.h"
|
| @@ -37,9 +37,9 @@ namespace blink {
|
|
|
| class ExceptionState;
|
|
|
| -class MODULES_EXPORT CanvasPathMethods {
|
| +class MODULES_EXPORT CanvasPath {
|
| public:
|
| - virtual ~CanvasPathMethods() {}
|
| + virtual ~CanvasPath() {}
|
|
|
| void closePath();
|
| void moveTo(float x, float y);
|
| @@ -78,10 +78,8 @@ class MODULES_EXPORT CanvasPathMethods {
|
| virtual bool IsTransformInvertible() const { return true; }
|
|
|
| protected:
|
| - CanvasPathMethods() { path_.SetIsVolatile(true); }
|
| - CanvasPathMethods(const Path& path) : path_(path) {
|
| - path_.SetIsVolatile(true);
|
| - }
|
| + CanvasPath() { path_.SetIsVolatile(true); }
|
| + CanvasPath(const Path& path) : path_(path) { path_.SetIsVolatile(true); }
|
| Path path_;
|
| };
|
| } // namespace blink
|
|
|