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

Unified Diff: Source/WebCore/inspector/MemoryInstrumentationImpl.cpp

Issue 13646003: DevTools: Remove ENABLE(INSPECTOR) and ENABLE(JAVASCRIPT_DEBUGGER) from the code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comments addressed Created 7 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/WebCore/inspector/InstrumentingAgents.cpp ('k') | Source/WebCore/inspector/NetworkResourcesData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/inspector/MemoryInstrumentationImpl.cpp
diff --git a/Source/WebCore/inspector/MemoryInstrumentationImpl.cpp b/Source/WebCore/inspector/MemoryInstrumentationImpl.cpp
index b659c1db763fcf8e0bc19b2c29ca4ad8ffdf47c6..dd7885f7bcdf4c8e5832ba391c340552fc745c43 100644
--- a/Source/WebCore/inspector/MemoryInstrumentationImpl.cpp
+++ b/Source/WebCore/inspector/MemoryInstrumentationImpl.cpp
@@ -29,9 +29,6 @@
*/
#include "config.h"
-
-#if ENABLE(INSPECTOR)
-
#include "MemoryInstrumentationImpl.h"
#include "HeapGraphSerializer.h"
@@ -87,10 +84,6 @@ bool MemoryInstrumentationClientImpl::checkCountedObject(const void* object)
if (!m_allocatedObjects.contains(object)) {
++m_totalObjectsNotInAllocatedSet;
return false;
-#if 0
- printf("Found unknown object referenced by pointer: %p\n", object);
- WTFReportBacktrace();
-#endif
}
return true;
}
@@ -159,4 +152,3 @@ void MemoryInstrumentationImpl::reportMemoryUsage(MemoryObjectInfo* memoryObject
} // namespace WebCore
-#endif // ENABLE(INSPECTOR)
« no previous file with comments | « Source/WebCore/inspector/InstrumentingAgents.cpp ('k') | Source/WebCore/inspector/NetworkResourcesData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698