summaryrefslogtreecommitdiffstats
path: root/content/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer')
-rw-r--r--content/renderer/gpu/compositor_output_surface.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc
index 69074c2..cca73a7 100644
--- a/content/renderer/gpu/compositor_output_surface.cc
+++ b/content/renderer/gpu/compositor_output_surface.cc
@@ -103,9 +103,9 @@ bool CompositorOutputSurface::BindToClient(
// Without a GPU context, the memory policy otherwise wouldn't be set.
client->SetMemoryPolicy(cc::ManagedMemoryPolicy(
64 * 1024 * 1024,
- cc::ManagedMemoryPolicy::CUTOFF_ALLOW_NICE_TO_HAVE,
+ gpu::MemoryAllocation::CUTOFF_ALLOW_NICE_TO_HAVE,
0,
- cc::ManagedMemoryPolicy::CUTOFF_ALLOW_NOTHING,
+ gpu::MemoryAllocation::CUTOFF_ALLOW_NOTHING,
cc::ManagedMemoryPolicy::kDefaultNumResourcesLimit));
}