Index: third_party/WebKit/Source/bindings/IDLExtendedAttributes.md |
diff --git a/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md b/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md |
index c867949821dfc7fb56d4df5c6610b355a75613eb..5e61aef56462d62b944a1f03efa1d06b39f7900a 100644 |
--- a/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md |
+++ b/third_party/WebKit/Source/bindings/IDLExtendedAttributes.md |
@@ -518,7 +518,7 @@ If a given DOM object needs to be kept alive as long as the DOM object has pendi |
If you use `[ActiveScriptWrappable]`, the corresponding Blink class needs to inherit ActiveScriptWrappable and override hasPendingActivity(). For example, in case of XMLHttpRequest, core/xml/XMLHttpRequest.h would look like this: |
```c++ |
-class XMLHttpRequest : public ActiveScriptWrappable |
+class XMLHttpRequest : public ActiveScriptWrappable<XMLHttpRequest> |
{ |
// Returns true if the object needs to be kept alive. |
bool hasPendingActivity() const override { return ...; } |