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

Unified Diff: cc/test/test_in_process_context_provider.h

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « cc/test/test_image_factory.cc ('k') | cc/test/test_in_process_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_in_process_context_provider.h
diff --git a/cc/test/test_in_process_context_provider.h b/cc/test/test_in_process_context_provider.h
index 6725ec0d742944f9b9a8a0fe3823e7942801440d..0533ff400cb06ecefd663d8401d66a03227d6e57 100644
--- a/cc/test/test_in_process_context_provider.h
+++ b/cc/test/test_in_process_context_provider.h
@@ -6,6 +6,8 @@
#define CC_TEST_TEST_IN_PROCESS_CONTEXT_PROVIDER_H_
#include "cc/output/context_provider.h"
+#include "cc/test/test_gpu_memory_buffer_manager.h"
+#include "cc/test/test_image_factory.h"
#include "skia/ext/refptr.h"
class GrContext;
@@ -17,6 +19,9 @@ class GLInProcessContext;
namespace cc {
scoped_ptr<gpu::GLInProcessContext> CreateTestInProcessContext();
+scoped_ptr<gpu::GLInProcessContext> CreateTestInProcessContext(
+ TestGpuMemoryBufferManager* gpu_memory_buffer_manager,
+ TestImageFactory* image_factory);
class TestInProcessContextProvider : public ContextProvider {
public:
@@ -42,6 +47,8 @@ class TestInProcessContextProvider : public ContextProvider {
~TestInProcessContextProvider() override;
private:
+ TestGpuMemoryBufferManager gpu_memory_buffer_manager_;
+ TestImageFactory image_factory_;
scoped_ptr<gpu::GLInProcessContext> context_;
skia::RefPtr<class GrContext> gr_context_;
};
« no previous file with comments | « cc/test/test_image_factory.cc ('k') | cc/test/test_in_process_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698