| Index: Source/core/dom/ClientRect.h
|
| diff --git a/Source/core/dom/ClientRect.h b/Source/core/dom/ClientRect.h
|
| index c52f7d7ba0013f31205ff8d58a208ed58b3926ed..99276e1f0c6461c92137b9e652a7b6643893d4f2 100644
|
| --- a/Source/core/dom/ClientRect.h
|
| +++ b/Source/core/dom/ClientRect.h
|
| @@ -31,27 +31,25 @@
|
| #include "core/CoreExport.h"
|
| #include "platform/geometry/FloatRect.h"
|
| #include "platform/heap/Handle.h"
|
| -#include "wtf/PassRefPtr.h"
|
| -#include "wtf/RefCounted.h"
|
|
|
| namespace blink {
|
|
|
| class IntRect;
|
|
|
| -class CORE_EXPORT ClientRect final : public RefCountedWillBeGarbageCollected<ClientRect>, public ScriptWrappable {
|
| +class CORE_EXPORT ClientRect final : public GarbageCollected<ClientRect>, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static PassRefPtrWillBeRawPtr<ClientRect> create()
|
| + static ClientRect* create()
|
| {
|
| - return adoptRefWillBeNoop(new ClientRect);
|
| + return new ClientRect;
|
| }
|
| - static PassRefPtrWillBeRawPtr<ClientRect> create(const IntRect& rect)
|
| + static ClientRect* create(const IntRect& rect)
|
| {
|
| - return adoptRefWillBeNoop(new ClientRect(rect));
|
| + return new ClientRect(rect);
|
| }
|
| - static PassRefPtrWillBeRawPtr<ClientRect> create(const FloatRect& rect)
|
| + static ClientRect* create(const FloatRect& rect)
|
| {
|
| - return adoptRefWillBeNoop(new ClientRect(rect));
|
| + return new ClientRect(rect);
|
| }
|
|
|
| float top() const { return m_rect.y(); }
|
|
|