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

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 1091093006: Update {virtual,override} to follow C++11 style in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back out some webrtc files. Created 5 years, 8 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/gpu/gpu_process_host.cc
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index be1437451b93cfe3bf8cc80ddd54259721a1b88b..8c1f8c1268fdafa7641ea40f9a10b3c3aae1bf7d 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -158,7 +158,7 @@ class GpuSandboxedProcessLauncherDelegate
~GpuSandboxedProcessLauncherDelegate() override {}
#if defined(OS_WIN)
- virtual bool ShouldSandbox() override {
+ bool ShouldSandbox() override {
bool sandbox = !cmd_line_->HasSwitch(switches::kDisableGpuSandbox);
if(! sandbox) {
DVLOG(1) << "GPU sandbox is disabled";
@@ -166,8 +166,8 @@ class GpuSandboxedProcessLauncherDelegate
return sandbox;
}
- virtual void PreSandbox(bool* disable_default_policy,
- base::FilePath* exposed_dir) override {
+ void PreSandbox(bool* disable_default_policy,
+ base::FilePath* exposed_dir) override {
*disable_default_policy = true;
}
@@ -175,8 +175,7 @@ class GpuSandboxedProcessLauncherDelegate
// which is USER_RESTRICTED breaks both the DirectX backend and the OpenGL
// backend. Note that the GPU process is connected to the interactive
// desktop.
- virtual void PreSpawnTarget(sandbox::TargetPolicy* policy,
- bool* success) {
+ void PreSpawnTarget(sandbox::TargetPolicy* policy, bool* success) override {
if (base::win::GetVersion() > base::win::VERSION_XP) {
if (cmd_line_->GetSwitchValueASCII(switches::kUseGL) ==
gfx::kGLImplementationDesktopName) {

Powered by Google App Engine
This is Rietveld 408576698