Index: third_party/WebKit/Source/core/frame/DOMTimerTest.cpp |
diff --git a/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp b/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp |
index aa9d2e0fb4dd077e1304ae88115b34c269a1ea21..97123d34bf9547a9934aa46abc088d263c00e7e7 100644 |
--- a/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp |
+++ b/third_party/WebKit/Source/core/frame/DOMTimerTest.cpp |
@@ -6,6 +6,8 @@ |
#include <vector> |
+#include "bindings/core/v8/IDLTypes.h" |
+#include "bindings/core/v8/NativeValueTraitsImpl.h" |
#include "bindings/core/v8/ScriptController.h" |
#include "bindings/core/v8/V8Binding.h" |
#include "core/dom/Document.h" |
@@ -57,8 +59,8 @@ class DOMTimerTest : public RenderingTest { |
Vector<double> ToDoubleArray(v8::Local<v8::Value> value, |
v8::HandleScope& scope) { |
NonThrowableExceptionState exception_state; |
- return ToImplArray<Vector<double>>(value, 0, scope.GetIsolate(), |
- exception_state); |
+ return NativeValueTraits<IDLSequence<IDLDouble>>::NativeValue( |
+ scope.GetIsolate(), value, exception_state); |
} |
void ExecuteScriptAndWaitUntilIdle(const char* script_text) { |