Remove invocation of WebSettings::setFontRenderingNormal, which is a no-op.
[chromium-blink-merge.git] / gpu / config / gpu_switching_list.cc
blobb87dfb2e3f4d2fed3aeeeaace8623c8f0f1316d6
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "gpu/config/gpu_switching_list.h"
7 #include "gpu/config/gpu_switching_option.h"
9 namespace gpu {
11 GpuSwitchingList::GpuSwitchingList()
12 : GpuControlList() {
15 GpuSwitchingList::~GpuSwitchingList() {
18 // static
19 GpuSwitchingList* GpuSwitchingList::Create() {
20 GpuSwitchingList* list = new GpuSwitchingList();
21 list->AddSupportedFeature("force_integrated",
22 GPU_SWITCHING_OPTION_FORCE_INTEGRATED);
23 list->AddSupportedFeature("force_discrete",
24 GPU_SWITCHING_OPTION_FORCE_DISCRETE);
25 return list;
28 } // namespace gpu