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

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

Issue 1063513007: Oilpan: have Console be on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Console public inherits DOMWindowProperty Created 5 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
« no previous file with comments | « Source/core/timing/ConsoleMemory.h ('k') | Source/core/workers/WorkerConsole.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/timing/ConsoleMemory.cpp
diff --git a/Source/core/timing/ConsoleMemory.cpp b/Source/core/timing/ConsoleMemory.cpp
index e2bc1307f8ce119294ec1cd06f23afbac1ff391d..a44ff10768fc91eeadd6e65aae0bcfb7bc4f3b05 100644
--- a/Source/core/timing/ConsoleMemory.cpp
+++ b/Source/core/timing/ConsoleMemory.cpp
@@ -10,21 +10,19 @@
namespace blink {
-DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ConsoleMemory);
-
DEFINE_TRACE(ConsoleMemory)
{
visitor->trace(m_memory);
- WillBeHeapSupplement<Console>::trace(visitor);
+ HeapSupplement<Console>::trace(visitor);
}
// static
ConsoleMemory& ConsoleMemory::from(Console& console)
{
- ConsoleMemory* supplement = static_cast<ConsoleMemory*>(WillBeHeapSupplement<Console>::from(console, supplementName()));
+ ConsoleMemory* supplement = static_cast<ConsoleMemory*>(HeapSupplement<Console>::from(console, supplementName()));
if (!supplement) {
supplement = new ConsoleMemory();
- provideTo(console, supplementName(), adoptPtrWillBeNoop(supplement));
+ provideTo(console, supplementName(), supplement);
}
return *supplement;
}
« no previous file with comments | « Source/core/timing/ConsoleMemory.h ('k') | Source/core/workers/WorkerConsole.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698