| Index: third_party/WebKit/Source/modules/csspaint/PaintSize.h
|
| diff --git a/third_party/WebKit/Source/modules/csspaint/Geometry.h b/third_party/WebKit/Source/modules/csspaint/PaintSize.h
|
| similarity index 54%
|
| rename from third_party/WebKit/Source/modules/csspaint/Geometry.h
|
| rename to third_party/WebKit/Source/modules/csspaint/PaintSize.h
|
| index 066263b2a0c1122b464e030ad2d10cf2c20b606a..c0880fad4f438d6d35a880fa167a0c60be7d80e0 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/Geometry.h
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintSize.h
|
| @@ -2,31 +2,31 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef Geometry_h
|
| -#define Geometry_h
|
| +#ifndef PaintSize_h
|
| +#define PaintSize_h
|
|
|
| namespace blink {
|
|
|
| -class Geometry : public GarbageCollectedFinalized<Geometry>, public ScriptWrappable {
|
| - WTF_MAKE_NONCOPYABLE(Geometry);
|
| +class PaintSize : public GarbageCollectedFinalized<PaintSize>, public ScriptWrappable {
|
| + WTF_MAKE_NONCOPYABLE(PaintSize);
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static Geometry* create(IntSize size)
|
| + static PaintSize* create(IntSize size)
|
| {
|
| - return new Geometry(size);
|
| + return new PaintSize(size);
|
| }
|
| - virtual ~Geometry() {}
|
| + virtual ~PaintSize() {}
|
|
|
| int width() const { return m_size.width(); }
|
| int height() const { return m_size.height(); }
|
|
|
| DEFINE_INLINE_TRACE() { }
|
| private:
|
| - explicit Geometry(IntSize size) : m_size(size) { }
|
| + explicit PaintSize(IntSize size) : m_size(size) { }
|
|
|
| IntSize m_size;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // Geometry_h
|
| +#endif // PaintSize_h
|
|
|