diff options
author | ager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-27 13:10:25 +0000 |
---|---|---|
committer | ager@google.com <ager@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-27 13:10:25 +0000 |
commit | 87dbc8b21522a2c6eb215d20f934676eb51e4a9d (patch) | |
tree | 41cd408581f834d54d80eb48b4ea2647fc320ff5 /webkit/port | |
parent | b9e04f0654a99b6bb0b626df14e15ec4f9a8bf9d (diff) | |
download | chromium_src-87dbc8b21522a2c6eb215d20f934676eb51e4a9d.zip chromium_src-87dbc8b21522a2c6eb215d20f934676eb51e4a9d.tar.gz chromium_src-87dbc8b21522a2c6eb215d20f934676eb51e4a9d.tar.bz2 |
Update webkit deps after unfork of character data.
Minor changes to the code generator for consistency.
Review URL: http://codereview.chromium.org/10987
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6107 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r-- | webkit/port/bindings/scripts/CodeGeneratorV8.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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}; |