Index: third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h |
diff --git a/third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h b/third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h |
index d87fb693b129e81194dd078ab209c906aba3292a..01917758ca0d3589994c7f5ebf2896e546fcaf7e 100644 |
--- a/third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h |
+++ b/third_party/WebKit/Source/core/dom/ScopedWindowFocusAllowedIndicator.h |
@@ -25,7 +25,7 @@ |
} |
private: |
- class Observer final : public GarbageCollected<Observer>, public ContextLifecycleObserver { |
+ class Observer final : public GarbageCollectedFinalized<Observer>, public ContextLifecycleObserver { |
USING_GARBAGE_COLLECTED_MIXIN(Observer); |
public: |
explicit Observer(ExecutionContext* executionContext) |
@@ -40,6 +40,11 @@ |
if (getExecutionContext()) |
getExecutionContext()->consumeWindowInteraction(); |
} |
+ |
+ DEFINE_INLINE_TRACE() |
+ { |
+ ContextLifecycleObserver::trace(visitor); |
+ } |
}; |
// In Oilpan, destructors are not allowed to touch other on-heap objects. |