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

Unified Diff: Source/web/WebLeakDetector.cpp

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
« no previous file with comments | « Source/web/WebInputEventConversion.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebLeakDetector.cpp
diff --git a/Source/web/WebLeakDetector.cpp b/Source/web/WebLeakDetector.cpp
index e638df560d6cba152e6f3249bfb03553a240b1fa..9899045ed2087e532029f742dcf213ec554efa79 100644
--- a/Source/web/WebLeakDetector.cpp
+++ b/Source/web/WebLeakDetector.cpp
@@ -38,7 +38,7 @@
#include "core/fetch/MemoryCache.h"
#include "core/fetch/ResourceFetcher.h"
#include "core/inspector/InspectorCounters.h"
-#include "core/rendering/RenderObject.h"
+#include "core/layout/LayoutObject.h"
#include "modules/webaudio/AudioNode.h"
#include "platform/Timer.h"
#include "public/web/WebDocument.h"
@@ -131,7 +131,8 @@ void WebLeakDetectorImpl::delayedReport(Timer<WebLeakDetectorImpl>*)
result.numberOfLiveAudioNodes = AudioNode::instanceCount();
result.numberOfLiveDocuments = InspectorCounters::counterValue(InspectorCounters::DocumentCounter);
result.numberOfLiveNodes = InspectorCounters::counterValue(InspectorCounters::NodeCounter);
- result.numberOfLiveRenderObjects = RenderObject::instanceCount();
+ result.numberOfLiveLayoutObjects = LayoutObject::instanceCount();
+ result.numberOfLiveRenderObjects = result.numberOfLiveLayoutObjects;
result.numberOfLiveResources = Resource::instanceCount();
m_client->onLeakDetectionComplete(result);
« no previous file with comments | « Source/web/WebInputEventConversion.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698