Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: content/common/gpu/image_transport_surface.cc

Issue 803813003: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/image_transport_surface.cc
diff --git a/content/common/gpu/image_transport_surface.cc b/content/common/gpu/image_transport_surface.cc
index f4c5a68cb218b02b354c2612ec7f3b18b4e89b63..f0665f6696a0a6b2efc5922d945c260f16797d1f 100644
--- a/content/common/gpu/image_transport_surface.cc
+++ b/content/common/gpu/image_transport_surface.cc
@@ -145,7 +145,8 @@ void ImageTransportHelper::SetSwapInterval(gfx::GLContext* context) {
return;
}
#endif
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableGpuVsync))
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableGpuVsync))
context->ForceSwapIntervalZero(true);
else
context->SetSwapInterval(1);
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/common/gpu/image_transport_surface_calayer_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698