Index: components/mus/common/gpu_memory_buffer_impl.h |
diff --git a/components/mus/gles2/gpu_memory_buffer_impl.h b/components/mus/common/gpu_memory_buffer_impl.h |
similarity index 83% |
rename from components/mus/gles2/gpu_memory_buffer_impl.h |
rename to components/mus/common/gpu_memory_buffer_impl.h |
index 2ad8e99ecd1c1e31c338606c8266a611e2e06b21..84f1f9d90ad4a73544ab8daec5e4ce99783e1a2e 100644 |
--- a/components/mus/gles2/gpu_memory_buffer_impl.h |
+++ b/components/mus/common/gpu_memory_buffer_impl.h |
@@ -2,13 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_ |
-#define COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_ |
+#ifndef COMPONENTS_MUS_COMMON_GPU_MEMORY_BUFFER_IMPL_H_ |
+#define COMPONENTS_MUS_COMMON_GPU_MEMORY_BUFFER_IMPL_H_ |
#include <memory> |
#include "base/callback.h" |
#include "base/macros.h" |
+#include "components/mus/common/mus_common_export.h" |
#include "gpu/command_buffer/common/sync_token.h" |
#include "ui/gfx/geometry/size.h" |
#include "ui/gfx/gpu_memory_buffer.h" |
@@ -20,7 +21,7 @@ |
namespace mus { |
// Provides common implementation of a GPU memory buffer. |
-class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer { |
+class MUS_COMMON_EXPORT GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer { |
public: |
~GpuMemoryBufferImpl() override; |
@@ -57,4 +58,4 @@ class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer { |
} // namespace mus |
-#endif // COMPONENTS_MUS_GLES2_GPU_MEMORY_BUFFER_IMPL_H_ |
+#endif // COMPONENTS_MUS_COMMON_GPU_MEMORY_BUFFER_IMPL_H_ |