summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/image_transport_surface.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/gpu/image_transport_surface.h')
-rw-r--r--content/common/gpu/image_transport_surface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h
index b1f0f5b..017899b4 100644
--- a/content/common/gpu/image_transport_surface.h
+++ b/content/common/gpu/image_transport_surface.h
@@ -34,7 +34,7 @@ class GLSurface;
namespace gpu {
class GpuScheduler;
-struct RefCountedCounter;
+class PreemptionFlag;
namespace gles2 {
class GLES2Decoder;
}
@@ -124,8 +124,8 @@ class ImageTransportHelper
void DeferToFence(base::Closure task);
- void SetPreemptByCounter(
- scoped_refptr<gpu::RefCountedCounter> preempt_by_counter);
+ void SetPreemptByFlag(
+ scoped_refptr<gpu::PreemptionFlag> preemption_flag);
// Make the surface's context current.
bool MakeCurrent();