Index: content/browser/compositor/owned_mailbox.h |
diff --git a/content/browser/compositor/owned_mailbox.h b/content/browser/compositor/owned_mailbox.h |
index 796e02edf9162e7d74019b3c7d83decc05688113..cbf1593111e982b98960d02b53a8e7dd38433b21 100644 |
--- a/content/browser/compositor/owned_mailbox.h |
+++ b/content/browser/compositor/owned_mailbox.h |
@@ -12,9 +12,12 @@ |
#include "content/common/content_export.h" |
#include "gpu/command_buffer/common/mailbox_holder.h" |
+namespace display_compositor { |
+class GLHelper; |
+} |
+ |
namespace content { |
-class GLHelper; |
// This class holds a texture id and gpu::Mailbox, and deletes the texture |
// id when the object itself is destroyed. Should only be created if a GLHelper |
@@ -22,7 +25,7 @@ class GLHelper; |
class CONTENT_EXPORT OwnedMailbox : public base::RefCounted<OwnedMailbox>, |
public ImageTransportFactoryObserver { |
public: |
- explicit OwnedMailbox(GLHelper* gl_helper); |
+ explicit OwnedMailbox(display_compositor::GLHelper* gl_helper); |
const gpu::MailboxHolder& holder() const { return mailbox_holder_; } |
const gpu::Mailbox& mailbox() const { return mailbox_holder_.mailbox; } |
@@ -45,7 +48,7 @@ class CONTENT_EXPORT OwnedMailbox : public base::RefCounted<OwnedMailbox>, |
uint32_t texture_id_; |
gpu::MailboxHolder mailbox_holder_; |
- GLHelper* gl_helper_; |
+ display_compositor::GLHelper* gl_helper_; |
}; |
} // namespace content |