| Index: content/browser/gpu/gpu_data_manager_impl_private.cc
|
| diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc
|
| index 513a1d5d836f8434f3bf15c8f9cabc6a09fb8efb..edbb3aa35f1c802f21dfc1f9986575603cf95983 100644
|
| --- a/content/browser/gpu/gpu_data_manager_impl_private.cc
|
| +++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
|
| @@ -1022,6 +1022,12 @@ GpuDataManagerImplPrivate::GpuDataManagerImplPrivate(
|
| CGGetActiveDisplayList (0, NULL, &display_count_);
|
| CGDisplayRegisterReconfigurationCallback(DisplayReconfigCallback, owner_);
|
| #endif // OS_MACOSX
|
| +
|
| + // For testing only.
|
| + if (command_line->HasSwitch(
|
| + switches::kDisableDomainBlockingFor3DAPIsForTesting)) {
|
| + domain_blocking_enabled_ = false;
|
| + }
|
| }
|
|
|
| GpuDataManagerImplPrivate::~GpuDataManagerImplPrivate() {
|
|
|