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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 456513002: Add base:: qualification to some CommandLine references in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: imerge Created 6 years, 4 months 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/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index bc89f8e80f87d2e9eaec9ff9d99a3e31f23ae6b7..9be444373761950e79c04cdcbabb99daba1ee991 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -844,7 +844,8 @@ float RenderWidgetHostViewMac::ViewScaleFactor() const {
void RenderWidgetHostViewMac::UpdateDisplayLink() {
static bool is_vsync_disabled =
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableGpuVsync);
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableGpuVsync);
if (is_vsync_disabled)
return;
@@ -2289,7 +2290,8 @@ SkColorType RenderWidgetHostViewMac::PreferredReadbackFormat() {
bool RenderWidgetHostViewMac::AcceleratedLayerShouldAckImmediately() const {
// If vsync is disabled, then always draw and ack frames immediately.
static bool is_vsync_disabled =
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableGpuVsync);
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableGpuVsync);
if (is_vsync_disabled)
return true;

Powered by Google App Engine
This is Rietveld 408576698