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

Unified Diff: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h

Issue 1506673002: CC Animations: Add Platform::current()->compositorSupport() for CompositorWorkerThreadTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h
diff --git a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h
index e028e33fbae61da58cc9efa58684bf2370adb095..7759157c2ac7b68057fcf69a589b407201cc9fe7 100644
--- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h
+++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h
@@ -33,6 +33,7 @@
#include "platform/PlatformExport.h"
#include "public/platform/Platform.h"
+#include "public/platform/WebCompositorSupport.h"
#include "public/platform/WebDiscardableMemory.h"
#include "wtf/Vector.h"
@@ -57,6 +58,9 @@ private:
bool m_isLocked;
};
+class TestingCompositorSupport : public WebCompositorSupport {
+};
+
class TestingPlatformSupport : public Platform {
public:
struct Config {
« no previous file with comments | « third_party/WebKit/Source/modules/compositorworker/CompositorWorkerThreadTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698