Index: cc/resources/resource_format.h |
diff --git a/cc/resources/resource_format.h b/cc/resources/resource_format.h |
index d910bb091e7e62e68282d2d5ba289ed218364f77..79b815fcd297c73c1b922c98b608c2397c0be87e 100644 |
--- a/cc/resources/resource_format.h |
+++ b/cc/resources/resource_format.h |
@@ -8,6 +8,7 @@ |
#include "base/logging.h" |
#include "cc/base/cc_export.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
+#include "ui/gfx/gpu_memory_buffer.h" |
// TODO(prashant.n): Including third_party/khronos/GLES2/gl2.h causes |
// redefinition errors as macros/functions defined in it conflict with |
@@ -35,6 +36,7 @@ CC_EXPORT int BitsPerPixel(ResourceFormat format); |
CC_EXPORT GLenum GLDataType(ResourceFormat format); |
CC_EXPORT GLenum GLDataFormat(ResourceFormat format); |
CC_EXPORT GLenum GLInternalFormat(ResourceFormat format); |
+CC_EXPORT gfx::BufferFormat BufferFormat(ResourceFormat format); |
} // namespace cc |