diff options
author | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-22 10:50:42 +0000 |
---|---|---|
committer | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-22 10:50:42 +0000 |
commit | 686ecfdabfa07e5597e93a88ddc578d49aab844d (patch) | |
tree | 54776110f8a34c5cff4a08861661ede6b86a8295 /cc/base | |
parent | 8b1986b8b69ffb789bc124e3306680397020defa (diff) | |
download | chromium_src-686ecfdabfa07e5597e93a88ddc578d49aab844d.zip chromium_src-686ecfdabfa07e5597e93a88ddc578d49aab844d.tar.gz chromium_src-686ecfdabfa07e5597e93a88ddc578d49aab844d.tar.bz2 |
cc: Remove WorkerPool class and instead use TaskGraphRunner directly.
Removes the unnecessary WorkerPool layer. This makes the job
of the TaskGraphRunner more clear and will allow us to remove
some complexity and unnecessary heap allocations from the
RasterWorkerPool code in follow up patches.
Also moves the kNumRasterTasks switch to content/.
Refactor only, no changes in behavior.
BUG=331844
Review URL: https://codereview.chromium.org/141163019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246284 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/base')
-rw-r--r-- | cc/base/switches.cc | 3 | ||||
-rw-r--r-- | cc/base/switches.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/cc/base/switches.cc b/cc/base/switches.cc index 5f405ea..487c5ec 100644 --- a/cc/base/switches.cc +++ b/cc/base/switches.cc @@ -54,9 +54,6 @@ const char kTopControlsHideThreshold[] = "top-controls-hide-threshold"; // Percentage of the top controls need to be shown before they will auto show. const char kTopControlsShowThreshold[] = "top-controls-show-threshold"; -// Number of worker threads used to rasterize content. -const char kNumRasterThreads[] = "num-raster-threads"; - // Show metrics about overdraw in about:tracing recordings, such as the number // of pixels culled, and the number of pixels drawn, for each frame. const char kTraceOverdraw[] = "trace-overdraw"; diff --git a/cc/base/switches.h b/cc/base/switches.h index a8c061d..500df71 100644 --- a/cc/base/switches.h +++ b/cc/base/switches.h @@ -27,7 +27,6 @@ CC_EXPORT extern const char kEnableImplSidePainting[]; CC_EXPORT extern const char kEnableTopControlsPositionCalculation[]; CC_EXPORT extern const char kEnableGPURasterization[]; CC_EXPORT extern const char kJankInsteadOfCheckerboard[]; -CC_EXPORT extern const char kNumRasterThreads[]; CC_EXPORT extern const char kTopControlsHeight[]; CC_EXPORT extern const char kTopControlsHideThreshold[]; CC_EXPORT extern const char kTraceOverdraw[]; |