Index: mojo/skia/ganesh_texture_surface.h |
diff --git a/mojo/skia/ganesh_texture_surface.h b/mojo/skia/ganesh_texture_surface.h |
index cd3b05dc74f5458efa910f0cb84e73eb4cb5b872..296a8347f080a4c1b54f687e9390fda0fdd12c0e 100644 |
--- a/mojo/skia/ganesh_texture_surface.h |
+++ b/mojo/skia/ganesh_texture_surface.h |
@@ -7,12 +7,15 @@ |
#include <memory> |
-#include "mojo/gpu/gl_texture.h" |
-#include "mojo/skia/ganesh_context.h" |
+#include "base/macros.h" |
#include "skia/ext/refptr.h" |
#include "third_party/skia/include/core/SkSurface.h" |
namespace mojo { |
+class GLTexture; |
+ |
+namespace skia { |
+class GaneshContext; |
// This class represents an SkSurface backed by a GL texture, which is |
// appropriate for use with Ganesh. This is useful for rendering Skia |
@@ -32,11 +35,12 @@ class GaneshTextureSurface { |
private: |
std::unique_ptr<GLTexture> texture_; |
- skia::RefPtr<SkSurface> surface_; |
+ ::skia::RefPtr<SkSurface> surface_; |
DISALLOW_COPY_AND_ASSIGN(GaneshTextureSurface); |
}; |
+} // namespace skia |
} // namespace mojo |
#endif // MOJO_SKIA_GANESH_TEXTURE_SURFACE_H_ |