| Index: cc/base/switches.h
|
| diff --git a/cc/base/switches.h b/cc/base/switches.h
|
| index 00acca8f32ae1d86b7de33751b82b031dcf96a1c..f10a1d8c1044fbde9ada999360eea215593cfc7a 100644
|
| --- a/cc/base/switches.h
|
| +++ b/cc/base/switches.h
|
| @@ -7,12 +7,20 @@
|
| #ifndef CC_BASE_SWITCHES_H_
|
| #define CC_BASE_SWITCHES_H_
|
|
|
| +#include "build/build_config.h"
|
| #include "cc/base/cc_export.h"
|
|
|
| // Since cc is used from the render process, anything that goes here also needs
|
| // to be added to render_process_host_impl.cc.
|
|
|
| -namespace cc {
|
| +#ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES
|
| +
|
| +namespace {
|
| +#include "cc/base/switches.cc"
|
| +}
|
| +
|
| +#else
|
| +
|
| namespace switches {
|
|
|
| // Switches for the renderer compositor only.
|
| @@ -64,9 +72,7 @@ CC_EXPORT extern const char kUIShowNonOccludingRects[];
|
| // Unit test related.
|
| CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[];
|
|
|
| -CC_EXPORT bool IsImplSidePaintingEnabled();
|
| -
|
| } // namespace switches
|
| -} // namespace cc
|
|
|
| +#endif // ENABLE_FAST_COMMAND_LINE_SWITCHES
|
| #endif // CC_BASE_SWITCHES_H_
|
|
|