| Index: Source/core/frame/Screen.h
|
| diff --git a/Source/core/frame/Screen.h b/Source/core/frame/Screen.h
|
| index e4ae7ca982f84acfb1c13ebc6626541d96dcfe50..99514918f28e4f976f4c71a60b2d0132f1dcb99a 100644
|
| --- a/Source/core/frame/Screen.h
|
| +++ b/Source/core/frame/Screen.h
|
| @@ -32,8 +32,8 @@
|
|
|
| #include "bindings/v8/ScriptWrappable.h"
|
| #include "core/frame/DOMWindowProperty.h"
|
| -#include "heap/Handle.h"
|
| #include "platform/Supplementable.h"
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefCounted.h"
|
|
|
| @@ -41,12 +41,12 @@ namespace WebCore {
|
|
|
| class LocalFrame;
|
|
|
| - class Screen FINAL : public RefCountedWillBeRefCountedGarbageCollected<Screen>, public ScriptWrappable, public DOMWindowProperty, public WillBeHeapSupplementable<Screen> {
|
| + class Screen FINAL : public RefCountedWillBeGarbageCollectedFinalized<Screen>, public ScriptWrappable, public DOMWindowProperty, public WillBeHeapSupplementable<Screen> {
|
| WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Screen);
|
| public:
|
| static PassRefPtrWillBeRawPtr<Screen> create(LocalFrame* frame)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new Screen(frame));
|
| + return adoptRefWillBeNoop(new Screen(frame));
|
| }
|
|
|
| unsigned height() const;
|
|
|