| Index: content/browser/gpu/gpu_surface_tracker.h
|
| diff --git a/content/browser/gpu/gpu_surface_tracker.h b/content/browser/gpu/gpu_surface_tracker.h
|
| index 5e519b8f9c790a441206675e2018672c25e0f140..0d55b327b60f47863ce8f876883fa1b500bc807c 100644
|
| --- a/content/browser/gpu/gpu_surface_tracker.h
|
| +++ b/content/browser/gpu/gpu_surface_tracker.h
|
| @@ -48,6 +48,9 @@ class CONTENT_EXPORT GpuSurfaceTracker : public gpu::GpuSurfaceLookup {
|
| // Adds a surface for a native widget. Returns the surface ID.
|
| int AddSurfaceForNativeWidget(gfx::AcceleratedWidget widget);
|
|
|
| + // Return true if the surface handle is registered with the tracker.
|
| + bool IsValidSurfaceHandle(gpu::SurfaceHandle surface_handle) const;
|
| +
|
| // Removes a given existing surface.
|
| void RemoveSurface(gpu::SurfaceHandle surface_handle);
|
|
|
|
|