summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DEPS2
-rw-r--r--webkit/port/bindings/scripts/CodeGeneratorV8.pm6
2 files changed, 4 insertions, 4 deletions
diff --git a/DEPS b/DEPS
index f2982b4..3a4e9c8 100644
--- a/DEPS
+++ b/DEPS
@@ -12,7 +12,7 @@ deps = {
"http://googletest.googlecode.com/svn/trunk@63",
"src/third_party/WebKit":
- "/trunk/deps/third_party/WebKit@6096",
+ "/trunk/deps/third_party/WebKit@6106",
"src/third_party/icu38":
"/trunk/deps/third_party/icu38@5827",
diff --git a/webkit/port/bindings/scripts/CodeGeneratorV8.pm b/webkit/port/bindings/scripts/CodeGeneratorV8.pm
index c80358b..835bd83 100644
--- a/webkit/port/bindings/scripts/CodeGeneratorV8.pm
+++ b/webkit/port/bindings/scripts/CodeGeneratorV8.pm
@@ -619,7 +619,7 @@ sub GenerateReplaceableAttrSetter
push(@implContentDecls,
" static void ${attrName}AttrSetter(v8::Local<v8::String> name," .
- " v8::Local<v8::Value> value, const v8::AccessorInfo& info)\n{\n");
+ " v8::Local<v8::Value> value, const v8::AccessorInfo& info) {\n");
push(@implContentDecls, " INC_STATS(\"DOM.$implClassName.$attrName._set\");\n");
@@ -643,7 +643,7 @@ sub GenerateNormalAttrSetter
push(@implContentDecls,
" static void ${attrName}AttrSetter(v8::Local<v8::String> name," .
- " v8::Local<v8::Value> value, const v8::AccessorInfo& info)\n{\n");
+ " v8::Local<v8::Value> value, const v8::AccessorInfo& info) {\n");
push(@implContentDecls, " INC_STATS(\"DOM.$implClassName.$attrName._set\");\n");
@@ -757,7 +757,7 @@ sub GenerateFunctionCallback
my $name = $function->signature->name;
push(@implContentDecls,
-" static v8::Handle<v8::Value> ${name}Callback(const v8::Arguments& args)\n{\n" .
+" static v8::Handle<v8::Value> ${name}Callback(const v8::Arguments& args) {\n" .
" INC_STATS(\"DOM.$implClassName.$name\");\n");
my $numParameters = @{$function->parameters};