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

Unified Diff: content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h

Issue 1389133002: content: Use type-parameterized tests for GpuMemoryBuffer implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add blankline Created 5 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
Index: content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
diff --git a/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h b/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
index 4a1ad650c6f2abdadf8165e7e364d20d45bfa768..19f35c1a51727a7460cfcd83673771fd336bdc2f 100644
--- a/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
+++ b/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.h
@@ -7,6 +7,7 @@
#include "base/containers/hash_tables.h"
#include "base/synchronization/lock.h"
+#include "content/common/content_export.h"
#include "content/common/gpu/gpu_memory_buffer_factory.h"
#include "gpu/command_buffer/service/image_factory.h"
#include "ui/ozone/public/native_pixmap.h"
@@ -17,8 +18,9 @@ class GLImage;
namespace content {
-class GpuMemoryBufferFactoryOzoneNativePixmap : public GpuMemoryBufferFactory,
- public gpu::ImageFactory {
+class CONTENT_EXPORT GpuMemoryBufferFactoryOzoneNativePixmap
+ : public GpuMemoryBufferFactory,
+ public gpu::ImageFactory {
public:
GpuMemoryBufferFactoryOzoneNativePixmap();
~GpuMemoryBufferFactoryOzoneNativePixmap() override;
@@ -27,8 +29,6 @@ class GpuMemoryBufferFactoryOzoneNativePixmap : public GpuMemoryBufferFactory,
gfx::BufferUsage usage);
// Overridden from GpuMemoryBufferFactory:
- void GetSupportedGpuMemoryBufferConfigurations(
- std::vector<Configuration>* configurations) override;
gfx::GpuMemoryBufferHandle CreateGpuMemoryBuffer(
gfx::GpuMemoryBufferId id,
const gfx::Size& size,

Powered by Google App Engine
This is Rietveld 408576698