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

Unified Diff: Source/core/testing/Internals.cpp

Issue 705363003: Remove internals.profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Landing Created 6 years, 1 month 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/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 1d73454f8abd9c5ee01c161b98536b8695e98034..76994d6e9b0fd699046d56d41ca0c6cc5ca28496 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -119,7 +119,6 @@
#include "core/rendering/compositing/RenderLayerCompositor.h"
#include "core/testing/DictionaryTest.h"
#include "core/testing/GCObservation.h"
-#include "core/testing/InternalProfilers.h"
#include "core/testing/InternalSettings.h"
#include "core/testing/LayerRect.h"
#include "core/testing/LayerRectList.h"
@@ -274,13 +273,6 @@ InternalRuntimeFlags* Internals::runtimeFlags() const
return m_runtimeFlags.get();
}
-InternalProfilers* Internals::profilers()
-{
- if (!m_profilers)
- m_profilers = InternalProfilers::create();
- return m_profilers.get();
-}
-
unsigned Internals::workerThreadCount() const
{
return WorkerThread::workerThreadCount();
@@ -2195,7 +2187,6 @@ ScriptPromise Internals::promiseCheckOverload(ScriptState* scriptState, Location
void Internals::trace(Visitor* visitor)
{
visitor->trace(m_runtimeFlags);
- visitor->trace(m_profilers);
}
void Internals::setValueForUser(Element* element, const String& value)
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698