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

Unified Diff: Source/core/frame/Console.h

Issue 950343002: Decouple memory() from Console (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: nits Created 5 years, 10 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: Source/core/frame/Console.h
diff --git a/Source/core/frame/Console.h b/Source/core/frame/Console.h
index 62476a014c7f8632729c41b187340943bbbf4393..e42c953c7b3fc45cf875faea722b8dbe1833a3c4 100644
--- a/Source/core/frame/Console.h
+++ b/Source/core/frame/Console.h
@@ -31,6 +31,7 @@
#include "core/frame/ConsoleBase.h"
#include "core/frame/DOMWindowProperty.h"
+#include "platform/Supplementable.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
@@ -39,11 +40,10 @@
namespace blink {
class LocalFrame;
-class MemoryInfo;
-class Console final : public ConsoleBase, public DOMWindowProperty {
- DEFINE_WRAPPERTYPEINFO();
+class Console final : public ConsoleBase, public DOMWindowProperty, public WillBeHeapSupplementable<Console> {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Console);
+ DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<Console> create(LocalFrame* frame)
{
@@ -51,8 +51,6 @@ public:
}
virtual ~Console();
- PassRefPtrWillBeRawPtr<MemoryInfo> memory() const;
-
DECLARE_VIRTUAL_TRACE();
protected:

Powered by Google App Engine
This is Rietveld 408576698