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

Unified Diff: content/common/gpu/image_transport_surface_calayer_mac.mm

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_calayer_mac.mm
diff --git a/content/common/gpu/image_transport_surface_calayer_mac.mm b/content/common/gpu/image_transport_surface_calayer_mac.mm
index 412dc4f39e2532adaa0b1adccdf0a24969b22c2d..4c79b491c31e5b4455eebf6c4e060012486764d6 100644
--- a/content/common/gpu/image_transport_surface_calayer_mac.mm
+++ b/content/common/gpu/image_transport_surface_calayer_mac.mm
@@ -94,16 +94,16 @@ namespace content {
CALayerStorageProvider::CALayerStorageProvider(
ImageTransportSurfaceFBO* transport_surface)
- : transport_surface_(transport_surface),
- gpu_vsync_disabled_(CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableGpuVsync)),
- throttling_disabled_(false),
- has_pending_draw_(false),
- can_draw_returned_false_count_(0),
- fbo_texture_(0),
- fbo_scale_factor_(1),
- recreate_layer_after_gpu_switch_(false),
- pending_draw_weak_factory_(this) {
+ : transport_surface_(transport_surface),
+ gpu_vsync_disabled_(base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableGpuVsync)),
+ throttling_disabled_(false),
+ has_pending_draw_(false),
+ can_draw_returned_false_count_(0),
+ fbo_texture_(0),
+ fbo_scale_factor_(1),
+ recreate_layer_after_gpu_switch_(false),
+ pending_draw_weak_factory_(this) {
ui::GpuSwitchingManager::GetInstance()->AddObserver(this);
}
« no previous file with comments | « content/common/gpu/image_transport_surface.cc ('k') | content/common/gpu/media/v4l2_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698