Index: Source/core/frame/Console.h |
diff --git a/Source/core/frame/Console.h b/Source/core/frame/Console.h |
index a610f488294c19e30351d8b50e1305808e322b70..2fd06cdbf1a299d524e05ae0cc553b9fb46a23c7 100644 |
--- a/Source/core/frame/Console.h |
+++ b/Source/core/frame/Console.h |
@@ -33,6 +33,7 @@ |
#include "bindings/v8/ScriptWrappable.h" |
#include "core/frame/ConsoleBase.h" |
#include "core/frame/DOMWindowProperty.h" |
+#include "heap/Handle.h" |
#include "wtf/Forward.h" |
#include "wtf/PassRefPtr.h" |
#include "wtf/RefCounted.h" |
@@ -44,25 +45,24 @@ class MemoryInfo; |
class Page; |
class ScriptArguments; |
-class Console FINAL : public RefCounted<Console>, public ConsoleBase, public ScriptWrappable, public DOMWindowProperty { |
+class Console FINAL : public ConsoleBase, public ScriptWrappable, public DOMWindowProperty { |
public: |
- using RefCounted<Console>::ref; |
- using RefCounted<Console>::deref; |
- |
- static PassRefPtr<Console> create(LocalFrame* frame) { return adoptRef(new Console(frame)); } |
+ static PassRefPtrWillBeRawPtr<Console> create(LocalFrame* frame) |
+ { |
+ return adoptRefWillBeNoop(new Console(frame)); |
+ } |
virtual ~Console(); |
PassRefPtrWillBeRawPtr<MemoryInfo> memory() const; |
+ void trace(Visitor*) { } |
+ |
protected: |
virtual ExecutionContext* context() OVERRIDE; |
virtual void reportMessageToClient(MessageLevel, const String& message, PassRefPtr<ScriptCallStack>) OVERRIDE; |
private: |
explicit Console(LocalFrame*); |
- |
- virtual void refConsole() OVERRIDE { ref(); } |
- virtual void derefConsole() OVERRIDE { deref(); } |
}; |
} // namespace WebCore |