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

Unified Diff: third_party/WebKit/Source/core/timing/ConsoleMemory.cpp

Issue 1859293002: [DevTools] Move Console to v8_inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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: third_party/WebKit/Source/core/timing/ConsoleMemory.cpp
diff --git a/third_party/WebKit/Source/core/timing/ConsoleMemory.cpp b/third_party/WebKit/Source/core/timing/ConsoleMemory.cpp
deleted file mode 100644
index 86634825122dba90c7ab471c300b5523efc56267..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/timing/ConsoleMemory.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "core/timing/ConsoleMemory.h"
-
-#include "core/frame/Console.h"
-#include "core/timing/MemoryInfo.h"
-
-namespace blink {
-
-// static
-ConsoleMemory& ConsoleMemory::from(Console& console)
-{
- ConsoleMemory* supplement = static_cast<ConsoleMemory*>(Supplement<Console>::from(console, supplementName()));
- if (!supplement) {
- supplement = new ConsoleMemory();
- provideTo(console, supplementName(), supplement);
- }
- return *supplement;
-}
-
-// static
-MemoryInfo* ConsoleMemory::memory(Console& console)
-{
- return ConsoleMemory::from(console).memory();
-}
-
-MemoryInfo* ConsoleMemory::memory()
-{
- return MemoryInfo::create();
-}
-
-} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/timing/ConsoleMemory.h ('k') | third_party/WebKit/Source/core/timing/ConsoleMemory.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698