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

Unified Diff: content/browser/compositor/owned_mailbox.h

Issue 1905863002: Revert of Introduce components/display_compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/browser/compositor/owned_mailbox.h
diff --git a/content/browser/compositor/owned_mailbox.h b/content/browser/compositor/owned_mailbox.h
index cbf1593111e982b98960d02b53a8e7dd38433b21..796e02edf9162e7d74019b3c7d83decc05688113 100644
--- a/content/browser/compositor/owned_mailbox.h
+++ b/content/browser/compositor/owned_mailbox.h
@@ -12,12 +12,9 @@
#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
@@ -25,7 +22,7 @@
class CONTENT_EXPORT OwnedMailbox : public base::RefCounted<OwnedMailbox>,
public ImageTransportFactoryObserver {
public:
- explicit OwnedMailbox(display_compositor::GLHelper* gl_helper);
+ explicit OwnedMailbox(GLHelper* gl_helper);
const gpu::MailboxHolder& holder() const { return mailbox_holder_; }
const gpu::Mailbox& mailbox() const { return mailbox_holder_.mailbox; }
@@ -48,7 +45,7 @@
uint32_t texture_id_;
gpu::MailboxHolder mailbox_holder_;
- display_compositor::GLHelper* gl_helper_;
+ GLHelper* gl_helper_;
};
} // namespace content
« no previous file with comments | « content/browser/compositor/image_transport_factory_browsertest.cc ('k') | content/browser/compositor/owned_mailbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698