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

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

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.cpp
diff --git a/Source/core/frame/Console.cpp b/Source/core/frame/Console.cpp
index d2997442d0a9708fa81671f694a1e8b0f8287673..73370c13f9097c570c065e590578b412793acb59 100644
--- a/Source/core/frame/Console.cpp
+++ b/Source/core/frame/Console.cpp
@@ -40,7 +40,6 @@
#include "core/inspector/ScriptCallStack.h"
#include "core/page/Chrome.h"
#include "core/page/ChromeClient.h"
-#include "core/timing/MemoryInfo.h"
#include "platform/TraceEvent.h"
#include "wtf/text/CString.h"
#include "wtf/text/WTFString.h"
@@ -77,11 +76,4 @@ void Console::reportMessageToConsole(PassRefPtrWillBeRawPtr<ConsoleMessage> cons
frame()->console().addMessage(consoleMessage);
}
-PassRefPtrWillBeRawPtr<MemoryInfo> Console::memory() const
-{
- // FIXME: Because we create a new object here each time,
- // console.memory !== console.memory, which seems wrong.
- return MemoryInfo::create();
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698