Commit 6c2e15ce authored by Michael Lippautz's avatar Michael Lippautz Committed by Commit Bot

[oilpan] Fix incremental marking tests

Fix compilaton broken by stricter compile-time checks.

No-try: true
Tbr: haraken@chromium.org
Bug: chromium:757440
Change-Id: Ib4444900e0fc68ab915683ec68d598aaf73a27fd
Reviewed-on: https://chromium-review.googlesource.com/1029862Reviewed-by: default avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553966}
parent 6b683a83
......@@ -360,7 +360,7 @@ class Mixin : public GarbageCollectedMixin {
Mixin() : next_(nullptr) {}
virtual ~Mixin() {}
virtual void Trace(blink::Visitor* visitor) { visitor->Trace(next_); }
void Trace(blink::Visitor* visitor) override { visitor->Trace(next_); }
virtual void Bar() {}
......@@ -380,12 +380,12 @@ class Child : public GarbageCollected<Child>,
public:
static Child* Create() { return new Child(); }
virtual ~Child() {}
~Child() override {}
virtual void Trace(blink::Visitor* visitor) { Mixin::Trace(visitor); }
void Trace(blink::Visitor* visitor) override { Mixin::Trace(visitor); }
virtual void Foo() {}
virtual void Bar() {}
void Foo() override {}
void Bar() override {}
protected:
Child() : ClassWithVirtual(), Mixin() {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment