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

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

Issue 1823763003: Move more files to gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed GYP build 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/image_transport_surface_android.cc
diff --git a/content/common/gpu/image_transport_surface_android.cc b/content/common/gpu/image_transport_surface_android.cc
index df50dbc54a1a3b2cea4180467f5029c4ad608e97..b8caac131dc625f36e624df18c8e171f05e3f07d 100644
--- a/content/common/gpu/image_transport_surface_android.cc
+++ b/content/common/gpu/image_transport_surface_android.cc
@@ -5,8 +5,8 @@
#include "content/common/gpu/image_transport_surface.h"
#include "base/logging.h"
-#include "content/common/gpu/gpu_surface_lookup.h"
#include "content/common/gpu/pass_through_image_transport_surface.h"
+#include "gpu/ipc/common/gpu_surface_lookup.h"
#include "ui/gl/gl_surface_egl.h"
namespace content {
@@ -17,12 +17,12 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface(
GpuCommandBufferStub* stub,
gpu::SurfaceHandle surface_handle,
gfx::GLSurface::Format format) {
- DCHECK(GpuSurfaceLookup::GetInstance());
+ DCHECK(gpu::GpuSurfaceLookup::GetInstance());
DCHECK_NE(surface_handle, gpu::kNullSurfaceHandle);
// On Android, the surface_handle is the id of the surface in the
- // GpuSurfaceTracker/GpuSurfaceLookup
+ // GpuSurfaceTracker/gpu::GpuSurfaceLookup
ANativeWindow* window =
- GpuSurfaceLookup::GetInstance()->AcquireNativeWidget(surface_handle);
+ gpu::GpuSurfaceLookup::GetInstance()->AcquireNativeWidget(surface_handle);
if (!window) {
LOG(WARNING) << "Failed to acquire native widget.";
return nullptr;
« no previous file with comments | « content/common/gpu/gpu_surface_lookup.cc ('k') | content/common/gpu/media/android_deferred_rendering_backing_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698