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 0c1824b66ac0233a9214568924810a6e920b8f05..b6a4444488ce3190abae0c9197d8c0d78371c200 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8PerformanceObserverCustom.cpp |
@@ -5,7 +5,7 @@ |
#include "bindings/core/v8/V8PerformanceObserver.h" |
#include "bindings/core/v8/ExceptionMessages.h" |
-#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/GeneratedCodeHelper.h" |
#include "bindings/core/v8/V8Binding.h" |
#include "bindings/core/v8/V8DOMWrapper.h" |
#include "bindings/core/v8/V8GCController.h" |
@@ -19,7 +19,7 @@ namespace blink { |
void V8PerformanceObserver::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |
- V8ThrowException::throwException(info.GetIsolate(), createMinimumArityTypeErrorForMethod(info.GetIsolate(), "createPerformanceObserver", "Performance", 1, info.Length())); |
+ throwMinimumArityErrorForMethod(info.GetIsolate(), "Performance", "createPerformanceObserver", 1, info.Length()); |
return; |
} |