The "subpixel-font-scaling" option is removed

This commit is contained in:
Cheng Zhao 2015-03-10 17:00:16 -07:00
parent 8e2fdc178b
commit 98fbe5127b
5 changed files with 0 additions and 6 deletions

View file

@ -77,7 +77,6 @@ namespace {
const char* kWebRuntimeFeatures[] = { const char* kWebRuntimeFeatures[] = {
switches::kExperimentalFeatures, switches::kExperimentalFeatures,
switches::kExperimentalCanvasFeatures, switches::kExperimentalCanvasFeatures,
switches::kSubpixelFontScaling,
switches::kOverlayScrollbars, switches::kOverlayScrollbars,
switches::kOverlayFullscreenVideo, switches::kOverlayFullscreenVideo,
switches::kSharedWorker, switches::kSharedWorker,

View file

@ -78,7 +78,6 @@ const char kType[] = "type";
// Web runtime features. // Web runtime features.
const char kExperimentalFeatures[] = "experimental-features"; const char kExperimentalFeatures[] = "experimental-features";
const char kExperimentalCanvasFeatures[] = "experimental-canvas-features"; const char kExperimentalCanvasFeatures[] = "experimental-canvas-features";
const char kSubpixelFontScaling[] = "subpixel-font-scaling";
const char kOverlayScrollbars[] = "overlay-scrollbars"; const char kOverlayScrollbars[] = "overlay-scrollbars";
const char kOverlayFullscreenVideo[] = "overlay-fullscreen-video"; const char kOverlayFullscreenVideo[] = "overlay-fullscreen-video";
const char kSharedWorker[] = "shared-worker"; const char kSharedWorker[] = "shared-worker";

View file

@ -44,7 +44,6 @@ extern const char kType[];
extern const char kExperimentalFeatures[]; extern const char kExperimentalFeatures[];
extern const char kExperimentalCanvasFeatures[]; extern const char kExperimentalCanvasFeatures[];
extern const char kSubpixelFontScaling[];
extern const char kOverlayScrollbars[]; extern const char kOverlayScrollbars[];
extern const char kOverlayFullscreenVideo[]; extern const char kOverlayFullscreenVideo[];
extern const char kSharedWorker[]; extern const char kSharedWorker[];

View file

@ -156,8 +156,6 @@ void AtomRendererClient::EnableWebRuntimeFeatures() {
blink::WebRuntimeFeatures::enableExperimentalFeatures(b); blink::WebRuntimeFeatures::enableExperimentalFeatures(b);
if (IsSwitchEnabled(command_line, switches::kExperimentalCanvasFeatures, &b)) if (IsSwitchEnabled(command_line, switches::kExperimentalCanvasFeatures, &b))
blink::WebRuntimeFeatures::enableExperimentalCanvasFeatures(b); blink::WebRuntimeFeatures::enableExperimentalCanvasFeatures(b);
if (IsSwitchEnabled(command_line, switches::kSubpixelFontScaling, &b))
blink::WebRuntimeFeatures::enableSubpixelFontScaling(b);
if (IsSwitchEnabled(command_line, switches::kOverlayScrollbars, &b)) if (IsSwitchEnabled(command_line, switches::kOverlayScrollbars, &b))
blink::WebRuntimeFeatures::enableOverlayScrollbars(b); blink::WebRuntimeFeatures::enableOverlayScrollbars(b);
if (IsSwitchEnabled(command_line, switches::kOverlayFullscreenVideo, &b)) if (IsSwitchEnabled(command_line, switches::kOverlayFullscreenVideo, &b))

View file

@ -88,7 +88,6 @@ You can also create a window without chrome by using
under current working directory. under current working directory.
* `experimental-features` Boolean * `experimental-features` Boolean
* `experimental-canvas-features` Boolean * `experimental-canvas-features` Boolean
* `subpixel-font-scaling` Boolean
* `overlay-scrollbars` Boolean * `overlay-scrollbars` Boolean
* `overlay-fullscreen-video` Boolean * `overlay-fullscreen-video` Boolean
* `shared-worker` Boolean * `shared-worker` Boolean