| Index: third_party/WebKit/Source/core/frame/PerformanceMonitor.h
|
| diff --git a/third_party/WebKit/Source/core/frame/PerformanceMonitor.h b/third_party/WebKit/Source/core/frame/PerformanceMonitor.h
|
| index 46fba98c66d11963e44fc55f8d8940b858d545c2..30c1c85d724895afb073904a6ab8552fbe1a7c41 100644
|
| --- a/third_party/WebKit/Source/core/frame/PerformanceMonitor.h
|
| +++ b/third_party/WebKit/Source/core/frame/PerformanceMonitor.h
|
| @@ -69,16 +69,6 @@ class CORE_EXPORT PerformanceMonitor final
|
| DEFINE_INLINE_VIRTUAL_TRACE() {}
|
| };
|
|
|
| - // Instrumenting methods.
|
| - static void willExecuteScript(ExecutionContext*);
|
| - static void didExecuteScript(ExecutionContext*);
|
| - static void willCallFunction(ExecutionContext*);
|
| - static void didCallFunction(ExecutionContext*, v8::Local<v8::Function>);
|
| - static void willUpdateLayout(Document*);
|
| - static void didUpdateLayout(Document*);
|
| - static void willRecalculateStyle(Document*);
|
| - static void didRecalculateStyle(Document*);
|
| - static void documentWriteFetchScript(Document*);
|
| static void reportGenericViolation(ExecutionContext*,
|
| Violation,
|
| const String& text,
|
| @@ -86,6 +76,17 @@ class CORE_EXPORT PerformanceMonitor final
|
| std::unique_ptr<SourceLocation>);
|
| static double threshold(ExecutionContext*, Violation);
|
|
|
| + // Instrumenting methods.
|
| + void willExecuteScript(ExecutionContext*);
|
| + void didExecuteScript();
|
| + void willCallFunction(ExecutionContext*);
|
| + void didCallFunction(ExecutionContext*, v8::Local<v8::Function>);
|
| + void willUpdateLayout();
|
| + void didUpdateLayout();
|
| + void willRecalculateStyle(Document*);
|
| + void didRecalculateStyle();
|
| + void documentWriteFetchScript(Document*);
|
| +
|
| // Direct API for core.
|
| void subscribe(Violation, double threshold, Client*);
|
| void unsubscribeAll(Client*);
|
| @@ -105,14 +106,6 @@ class CORE_EXPORT PerformanceMonitor final
|
|
|
| void updateInstrumentation();
|
|
|
| - void alwaysWillExecuteScript(ExecutionContext*);
|
| - void alwaysDidExecuteScript();
|
| - void alwaysWillCallFunction(ExecutionContext*);
|
| - void alwaysDidCallFunction(ExecutionContext*, v8::Local<v8::Function>);
|
| - void willUpdateLayout();
|
| - void didUpdateLayout();
|
| - void willRecalculateStyle();
|
| - void didRecalculateStyle();
|
| void innerReportGenericViolation(ExecutionContext*,
|
| Violation,
|
| const String& text,
|
|
|