Index: third_party/WebKit/Source/core/testing/CallbackFunctionTest.cpp |
diff --git a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.cpp b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.cpp |
index 546692b35fc4abfd181efb322954e10723ddcb19..99d386d1cee2d542247bb37a2b4439611c4c7e7e 100644 |
--- a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.cpp |
+++ b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.cpp |
@@ -7,6 +7,8 @@ |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/v8/V8Binding.h" |
#include "bindings/core/v8/V8TestCallback.h" |
+#include "bindings/core/v8/V8TestInterfaceCallback.h" |
+#include "core/html/HTMLDivElement.h" |
namespace blink { |
@@ -25,4 +27,12 @@ String CallbackFunctionTest::testCallback(ScriptState* scriptState, V8TestCallba |
return String("Error!"); |
} |
+void CallbackFunctionTest::testInterfaceCallback(ScriptState* scriptState, V8TestInterfaceCallback* callback, HTMLDivElement* divElements, ExceptionState& exceptionState) |
+{ |
+ ScriptWrappable* scriptWrappable; |
+ |
+ callback->call(scriptState, scriptWrappable = nullptr, divElements); |
+ return; |
+} |
+ |
} // namespace blink |