Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp

Issue 1802953003: RemoteBridgeFrameOwner: keep better track of the attached frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't call virtuals indirectly from a ctor. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
index 22c206f078a09a3c74fea5f3f19a42c22d2ac78b..2a382839bf710eaa9360d6e27e3178d6a13ab0e5 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
@@ -72,25 +72,6 @@ private:
RawPtrWillBeMember<Frame> m_parent;
};
-class StubFrameOwner : public NoBaseWillBeGarbageCollectedFinalized<StubFrameOwner>, public FrameOwner {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StubFrameOwner);
-public:
- static PassOwnPtrWillBeRawPtr<StubFrameOwner> create()
- {
- return adoptPtrWillBeNoop(new StubFrameOwner);
- }
-
- DEFINE_INLINE_VIRTUAL_TRACE() { FrameOwner::trace(visitor); }
-
- bool isLocal() const override { return false; }
- SandboxFlags getSandboxFlags() const override { return SandboxNone; }
- void dispatchLoad() override { }
- void renderFallbackContent() override { }
- ScrollbarMode scrollingMode() const override { return ScrollbarAuto; }
- int marginWidth() const override { return -1; }
- int marginHeight() const override { return -1; }
-};
-
class MockFrameLoaderClient : public EmptyFrameLoaderClient {
public:
MockFrameLoaderClient()

Powered by Google App Engine
This is Rietveld 408576698