| Index: content/browser/gpu/compositor_util.cc
|
| diff --git a/content/browser/gpu/compositor_util.cc b/content/browser/gpu/compositor_util.cc
|
| index 216d1da24b6c3facb393e0787fe4f765132f16d9..c6aabfbed098d33813801d76df8ff902d30839e5 100644
|
| --- a/content/browser/gpu/compositor_util.cc
|
| +++ b/content/browser/gpu/compositor_util.cc
|
| @@ -208,12 +208,12 @@ bool IsZeroCopyUploadEnabled() {
|
| #endif
|
| }
|
|
|
| -bool IsPersistentGpuMemoryBufferEnabled() {
|
| - // Zero copy currently doesn't take advantage of persistent buffers.
|
| +bool IsPartialRasterEnabled() {
|
| + // Zero copy currently doesn't take advantage of partial raster.
|
| if (IsZeroCopyUploadEnabled())
|
| return false;
|
| const auto& command_line = *base::CommandLine::ForCurrentProcess();
|
| - return command_line.HasSwitch(switches::kEnablePersistentGpuMemoryBuffer);
|
| + return command_line.HasSwitch(switches::kEnablePartialRaster);
|
| }
|
|
|
| bool IsGpuRasterizationEnabled() {
|
|
|