| Index: third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp b/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp
|
| index c7f566cc921fd2bf72efc9cdd353a561516261b2..e61e0cac94187f27794e5dbbcafb48293587b883 100644
|
| --- a/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp
|
| @@ -3,7 +3,6 @@
|
| // found in the LICENSE file.
|
|
|
| #include "core/frame/PerformanceMonitor.h"
|
| -
|
| #include "bindings/core/v8/ScheduledAction.h"
|
| #include "bindings/core/v8/ScriptEventListener.h"
|
| #include "bindings/core/v8/SourceLocation.h"
|
| @@ -15,7 +14,9 @@
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/html/parser/HTMLDocumentParser.h"
|
| #include "core/probe/CoreProbes.h"
|
| +#include "platform/Histogram.h"
|
| #include "platform/wtf/CurrentTime.h"
|
| +#include "platform/wtf/Time.h"
|
| #include "public/platform/Platform.h"
|
|
|
| namespace blink {
|
| @@ -202,6 +203,16 @@ void PerformanceMonitor::Did(const probe::CallFunction& probe) {
|
| SourceLocation::FromFunction(probe.function));
|
| }
|
|
|
| +void PerformanceMonitor::Will(const probe::V8Compile& probe) {
|
| + // Todo(maxlg): https://crbug.com/738495 Intentionally leave out as we need to
|
| + // verify monotonical time is reasonable in overhead.
|
| +}
|
| +
|
| +void PerformanceMonitor::Did(const probe::V8Compile& probe) {
|
| + // Todo(maxlg): https://crbug.com/738495 Intentionally leave out as we need to
|
| + // verify monotonical time is reasonable in overhead.
|
| +}
|
| +
|
| void PerformanceMonitor::Will(const probe::UserCallback& probe) {
|
| ++user_callback_depth_;
|
|
|
|
|