summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/testing/death_aware_script_wrappable.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/testing/death_aware_script_wrappable.h')
-rw-r--r--chromium/third_party/blink/renderer/core/testing/death_aware_script_wrappable.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/chromium/third_party/blink/renderer/core/testing/death_aware_script_wrappable.h b/chromium/third_party/blink/renderer/core/testing/death_aware_script_wrappable.h
index 6f19681f7f1..2666aa5bf80 100644
--- a/chromium/third_party/blink/renderer/core/testing/death_aware_script_wrappable.h
+++ b/chromium/third_party/blink/renderer/core/testing/death_aware_script_wrappable.h
@@ -43,10 +43,6 @@ class DeathAwareScriptWrappable : public ScriptWrappable {
public:
typedef Member<DeathAwareScriptWrappable> Wrapper;
- static DeathAwareScriptWrappable* Create() {
- return MakeGarbageCollected<DeathAwareScriptWrappable>();
- }
-
static bool HasDied() { return has_died_; }
static void ObserveDeathsOf(DeathAwareScriptWrappable* instance) {
has_died_ = false;
@@ -60,7 +56,7 @@ class DeathAwareScriptWrappable : public ScriptWrappable {
}
}
- void Trace(blink::Visitor* visitor) override {
+ void Trace(Visitor* visitor) override {
visitor->Trace(wrapped_dependency_);
visitor->Trace(wrapped_vector_dependency_);
visitor->Trace(wrapped_hash_map_dependency_);