Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: Source/bindings/tests/results/V8TestCustomNamedGetter.cpp

Issue 14244017: Make length property return useful values for DOM bindings functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replace [Optional] by optional Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/tests/results/V8TestCustomNamedGetter.cpp
diff --git a/Source/bindings/tests/results/V8TestCustomNamedGetter.cpp b/Source/bindings/tests/results/V8TestCustomNamedGetter.cpp
index b102e54120585f586cea3dbed8fdcd146a8b4aaa..93553bafb1ec430852e3fca98d96f2137a75dac3 100644
--- a/Source/bindings/tests/results/V8TestCustomNamedGetter.cpp
+++ b/Source/bindings/tests/results/V8TestCustomNamedGetter.cpp
@@ -26,6 +26,7 @@
#include "ExceptionCode.h"
#include "Frame.h"
#include "RuntimeEnabledFeatures.h"
+#include "ScriptController.h"
#include "V8Binding.h"
#include "V8DOMWrapper.h"
#include <wtf/UnusedParam.h>
@@ -88,7 +89,7 @@ static v8::Handle<v8::Value> anotherFunctionMethodCallback(const v8::Arguments&
} // namespace TestCustomNamedGetterV8Internal
static const V8DOMConfiguration::BatchedMethod V8TestCustomNamedGetterMethods[] = {
- {"anotherFunction", TestCustomNamedGetterV8Internal::anotherFunctionMethodCallback, 0},
+ {"anotherFunction", TestCustomNamedGetterV8Internal::anotherFunctionMethodCallback, 0, 1},
};
static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestCustomNamedGetterTemplate(v8::Persistent<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWorldType)
« no previous file with comments | « Source/bindings/tests/results/V8TestCallback.cpp ('k') | Source/bindings/tests/results/V8TestEventConstructor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698