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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasPath.h

Issue 2826773002: Rename CanvasPathMethods to CanvasPath (Closed)
Patch Set: x Created 3 years, 8 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
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

Powered by Google App Engine
This is Rietveld 408576698