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

Unified Diff: third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp

Issue 2399433002: [DO NOT COMMIT] oilpan clang check (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp b/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp
index d36427f1d66ab7087d6cadaa1741cdeaa57268ad..b6a22702623a01fb65820ed57116aac0a9334274 100644
--- a/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp
+++ b/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp
@@ -67,7 +67,27 @@ class BodyStreamBufferTest : public ::testing::Test {
}
};
+class X : public GarbageCollectedMixin {
+ public:
+ DEFINE_INLINE_VIRTUAL_TRACE() {}
+};
+
+template <typename T>
+class Y : public T {
+ public:
+ DEFINE_INLINE_TRACE() { T::trace(visitor); }
+};
+
+class Z final : public GarbageCollectedFinalized<Z>, public Y<X> {
+ USING_GARBAGE_COLLECTED_MIXIN(Z);
+
+ public:
+ ~Z() {}
+ DEFINE_INLINE_TRACE() { Y<X>::trace(visitor); }
+};
+
TEST_F(BodyStreamBufferTest, Tee) {
+ Persistent<Z> z = new Z();
V8TestingScope scope;
Checkpoint checkpoint;
MockFetchDataLoaderClient* client1 = MockFetchDataLoaderClient::create();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698