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..ee23e805f6f53f74a841cd59e95c8ef6fd2baad2 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) bug 738495: intentionally leave out as we need to verify |
+ // monotonical time is reasonable in overhead. |
+} |
+ |
+void PerformanceMonitor::Did(const probe::V8Compile& probe) { |
+ // Todo(maxlg) bug 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_; |