Index: Source/bindings/v8/V8NodeFilterCondition.h |
diff --git a/Source/bindings/v8/V8NodeFilterCondition.h b/Source/bindings/v8/V8NodeFilterCondition.h |
index 3d87020d5f21bb41b5a8984f0ebaf081f8239f1c..abff9e364a1b79d9a72a8a031ccb843eccfc5e6d 100644 |
--- a/Source/bindings/v8/V8NodeFilterCondition.h |
+++ b/Source/bindings/v8/V8NodeFilterCondition.h |
@@ -58,7 +58,7 @@ class ScriptState; |
// v | v | v |
// NodeIterator --HiddenValue--> NodeFilter --HiddenValue--> JS Callback |
// (V8) |
-class V8NodeFilterCondition : public NodeFilterCondition { |
+class V8NodeFilterCondition FINAL : public NodeFilterCondition { |
public: |
static PassRefPtr<V8NodeFilterCondition> create(v8::Handle<v8::Value> filter, v8::Handle<v8::Object> owner, v8::Isolate* isolate) |
{ |
@@ -67,7 +67,7 @@ public: |
virtual ~V8NodeFilterCondition(); |
- virtual short acceptNode(ScriptState*, Node*) const; |
+ virtual short acceptNode(ScriptState*, Node*) const OVERRIDE; |
private: |
// As the value |filter| is maintained by V8GC, the |owner| which references |