| Index: cc/base/switches.cc
|
| diff --git a/cc/base/switches.cc b/cc/base/switches.cc
|
| index ddba9cbd4449b52cb8edd870a77dccc45faafb35..dd0fa524dc0f3403c9997d15fe94dd8d139a6821 100644
|
| --- a/cc/base/switches.cc
|
| +++ b/cc/base/switches.cc
|
| @@ -165,8 +165,7 @@ bool IsLCDTextEnabled() {
|
| #endif
|
| }
|
|
|
| -namespace {
|
| -bool CheckImplSidePaintingStatus() {
|
| +bool IsImplSidePaintingEnabled() {
|
| const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
|
|
| if (command_line.HasSwitch(switches::kDisableImplSidePainting))
|
| @@ -181,23 +180,6 @@ bool CheckImplSidePaintingStatus() {
|
| #endif
|
| }
|
|
|
| -bool CheckGPURasterizationStatus() {
|
| - const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| - return command_line.HasSwitch(switches::kEnableGPURasterization);
|
| -}
|
| -
|
| -} // namespace
|
| -
|
| -bool IsImplSidePaintingEnabled() {
|
| - static bool enabled = CheckImplSidePaintingStatus();
|
| - return enabled;
|
| -}
|
| -
|
| -bool IsGPURasterizationEnabled() {
|
| - static bool enabled = CheckGPURasterizationStatus();
|
| - return enabled;
|
| -}
|
| -
|
| bool IsMapImageEnabled() {
|
| const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
|
|
|
|