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

Unified Diff: content/common/gpu/gpu_memory_buffer_factory_surface_texture.cc

Issue 1770073002: SurfaceTexture* => gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restored BUILD.gn bits Created 4 years, 9 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/common/gpu/gpu_memory_buffer_factory_surface_texture.cc
diff --git a/content/common/gpu/gpu_memory_buffer_factory_surface_texture.cc b/content/common/gpu/gpu_memory_buffer_factory_surface_texture.cc
index a4cf15ed30ede039e8bc3e14ba3cd46f1a8a9359..d9fd7d5cb97f9a1232cf4d6a97558712acb2ff39 100644
--- a/content/common/gpu/gpu_memory_buffer_factory_surface_texture.cc
+++ b/content/common/gpu/gpu_memory_buffer_factory_surface_texture.cc
@@ -4,7 +4,7 @@
#include "content/common/gpu/gpu_memory_buffer_factory_surface_texture.h"
-#include "content/common/android/surface_texture_manager.h"
+#include "gpu/ipc/common/android/surface_texture_manager.h"
#include "ui/gl/android/surface_texture.h"
#include "ui/gl/gl_image_surface_texture.h"
@@ -50,7 +50,7 @@ GpuMemoryBufferFactorySurfaceTexture::CreateGpuMemoryBuffer(
if (!surface_texture.get())
return gfx::GpuMemoryBufferHandle();
- SurfaceTextureManager::GetInstance()->RegisterSurfaceTexture(
+ gpu::SurfaceTextureManager::GetInstance()->RegisterSurfaceTexture(
id.id, client_id, surface_texture.get());
{
@@ -89,8 +89,8 @@ void GpuMemoryBufferFactorySurfaceTexture::DestroyGpuMemoryBuffer(
surface_textures_.erase(key);
}
- SurfaceTextureManager::GetInstance()->UnregisterSurfaceTexture(id.id,
- client_id);
+ gpu::SurfaceTextureManager::GetInstance()->UnregisterSurfaceTexture(
+ id.id, client_id);
}
gpu::ImageFactory* GpuMemoryBufferFactorySurfaceTexture::AsImageFactory() {
« no previous file with comments | « content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698