Index: third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp |
index 6169f3fc5d4ea578f0b870d70e90fbf281a44574..aaeeabb2198b02171f5793d57a17c2e985d4382d 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp |
@@ -5,11 +5,11 @@ |
#include "bindings/core/v8/V8PerformanceObserver.h" |
#include "bindings/core/v8/ExceptionMessages.h" |
+#include "bindings/core/v8/PerformanceObserverCallback.h" |
#include "bindings/core/v8/V8Binding.h" |
#include "bindings/core/v8/V8DOMWrapper.h" |
#include "bindings/core/v8/V8GCController.h" |
#include "bindings/core/v8/V8Performance.h" |
-#include "bindings/core/v8/V8PerformanceObserverCallback.h" |
#include "core/timing/DOMWindowPerformance.h" |
#include "core/timing/PerformanceObserver.h" |
@@ -37,7 +37,7 @@ void V8PerformanceObserver::constructorCustom(const v8::FunctionCallbackInfo<v8: |
V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::failedToConstruct("PerformanceObserver", "The callback provided as parameter 1 is not a function.")); |
return; |
} |
- V8PerformanceObserverCallback* callback = V8PerformanceObserverCallback::create(info.GetIsolate(), v8::Local<v8::Function>::Cast(info[0])); |
+ PerformanceObserverCallback* callback = PerformanceObserverCallback::create(info.GetIsolate(), v8::Local<v8::Function>::Cast(info[0])); |
PerformanceObserver* observer = PerformanceObserver::create(ScriptState::forReceiverObject(info), performance, callback); |