Index: Source/bindings/scripts/code_generator_v8.pm |
diff --git a/Source/bindings/scripts/code_generator_v8.pm b/Source/bindings/scripts/code_generator_v8.pm |
index fe3aad63946f832cf861867ba562b4e5be7bfba1..949a2262119f32bb250e87c8a1dc740f64289c6e 100644 |
--- a/Source/bindings/scripts/code_generator_v8.pm |
+++ b/Source/bindings/scripts/code_generator_v8.pm |
@@ -4877,7 +4877,7 @@ sub GenerateCallbackHeader |
$header{includes}->add("#include \"$include\"\n"); |
} |
$header{nameSpaceWebCore}->addHeader("\nclass ExecutionContext;\n"); |
- $header{class}->addHeader("class $v8ClassName : public $implClassName, public ActiveDOMCallback {"); |
+ $header{class}->addHeader("class $v8ClassName FINAL : public $implClassName, public ActiveDOMCallback {"); |
$header{class}->addFooter("};\n"); |
$header{classPublic}->add(<<END); |
@@ -4906,7 +4906,7 @@ END |
push(@args, GetNativeTypeForCallbacks($param->type) . " " . $param->name); |
} |
$code .= join(", ", @args); |
- $code .= ");\n"; |
+ $code .= ") OVERRIDE;\n"; |
$header{classPublic}->add($code); |
} |
} |