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

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

Issue 2083853002: exo: Recreate Surface resources on context lost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits Created 4 years, 6 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..d0bd7b5d47cdf3721d2f2c379615cf231ddb9cc7 100644
--- a/content/browser/compositor/owned_mailbox.h
+++ b/content/browser/compositor/owned_mailbox.h
@@ -11,6 +11,7 @@
#include "content/browser/compositor/image_transport_factory.h"
#include "content/common/content_export.h"
#include "gpu/command_buffer/common/mailbox_holder.h"
+#include "ui/compositor/compositor.h"
namespace display_compositor {
class GLHelper;
@@ -23,7 +24,7 @@ namespace content {
// id when the object itself is destroyed. Should only be created if a GLHelper
// exists on the ImageTransportFactory.
class CONTENT_EXPORT OwnedMailbox : public base::RefCounted<OwnedMailbox>,
- public ImageTransportFactoryObserver {
+ public ui::ContextFactoryObserver {
public:
explicit OwnedMailbox(display_compositor::GLHelper* gl_helper);
« 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