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

Side by Side Diff: ui/ozone/platform/dri/ozone_platform_gbm.cc

Issue 819223002: Make callers of CommandLine use it via the base:: namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/ozone/platform/dri/ozone_platform_gbm.h" 5 #include "ui/ozone/platform/dri/ozone_platform_gbm.h"
6 6
7 #include <dlfcn.h> 7 #include <dlfcn.h>
8 #include <gbm.h> 8 #include <gbm.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 10
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 #if defined(USE_XKBCOMMON) 189 #if defined(USE_XKBCOMMON)
190 XkbEvdevCodes xkb_evdev_code_converter_; 190 XkbEvdevCodes xkb_evdev_code_converter_;
191 #endif 191 #endif
192 192
193 DISALLOW_COPY_AND_ASSIGN(OzonePlatformGbm); 193 DISALLOW_COPY_AND_ASSIGN(OzonePlatformGbm);
194 }; 194 };
195 195
196 } // namespace 196 } // namespace
197 197
198 OzonePlatform* CreateOzonePlatformGbm() { 198 OzonePlatform* CreateOzonePlatformGbm() {
199 CommandLine* cmd = CommandLine::ForCurrentProcess(); 199 base::CommandLine* cmd = base::CommandLine::ForCurrentProcess();
200 return new OzonePlatformGbm(cmd->HasSwitch(switches::kOzoneUseSurfaceless)); 200 return new OzonePlatformGbm(cmd->HasSwitch(switches::kOzoneUseSurfaceless));
201 } 201 }
202 202
203 } // namespace ui 203 } // namespace ui
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/gbm_surface_factory.cc ('k') | ui/ozone/platform/test/ozone_platform_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698