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

Unified Diff: content/browser/android/browser_surface_texture_manager.h

Issue 1171293005: Revert of content: Single process support for native GpuMemoryBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dm-browsertests-refactor
Patch Set: Created 5 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
« no previous file with comments | « no previous file | content/browser/android/browser_surface_texture_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/browser_surface_texture_manager.h
diff --git a/content/browser/android/browser_surface_texture_manager.h b/content/browser/android/browser_surface_texture_manager.h
index e276928d877f6a11f348e7ea923cea60f4426e86..959d270548874b736c745db4a735cf4b5957967c 100644
--- a/content/browser/android/browser_surface_texture_manager.h
+++ b/content/browser/android/browser_surface_texture_manager.h
@@ -7,17 +7,15 @@
#include "content/common/android/surface_texture_manager.h"
-#include "base/memory/singleton.h"
#include "content/common/android/surface_texture_peer.h"
-#include "content/common/content_export.h"
namespace content {
-class CONTENT_EXPORT BrowserSurfaceTextureManager
- : public SurfaceTextureManager,
- public SurfaceTexturePeer {
+class BrowserSurfaceTextureManager : public SurfaceTextureManager,
+ public SurfaceTexturePeer {
public:
- static BrowserSurfaceTextureManager* GetInstance();
+ BrowserSurfaceTextureManager();
+ ~BrowserSurfaceTextureManager() override;
// Overridden from SurfaceTextureManager:
void RegisterSurfaceTexture(int surface_texture_id,
@@ -35,11 +33,6 @@
int player_id) override;
private:
- friend struct DefaultSingletonTraits<BrowserSurfaceTextureManager>;
-
- BrowserSurfaceTextureManager();
- ~BrowserSurfaceTextureManager() override;
-
DISALLOW_COPY_AND_ASSIGN(BrowserSurfaceTextureManager);
};
« no previous file with comments | « no previous file | content/browser/android/browser_surface_texture_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698