| Index: skia/ext/convolver.cc
|
| diff --git a/skia/ext/convolver.cc b/skia/ext/convolver.cc
|
| index 4b40ffd2cea22a41a6157b429dda450167df132c..092fefaa9b6692914163a45743e0bc73bd40f0f0 100644
|
| --- a/skia/ext/convolver.cc
|
| +++ b/skia/ext/convolver.cc
|
| @@ -362,13 +362,10 @@ struct ConvolveProcs {
|
|
|
| void SetupSIMD(ConvolveProcs *procs) {
|
| #ifdef SIMD_SSE2
|
| - base::CPU cpu;
|
| - if (cpu.has_sse2()) {
|
| - procs->extra_horizontal_reads = 3;
|
| - procs->convolve_vertically = &ConvolveVertically_SSE2;
|
| - procs->convolve_4rows_horizontally = &Convolve4RowsHorizontally_SSE2;
|
| - procs->convolve_horizontally = &ConvolveHorizontally_SSE2;
|
| - }
|
| + procs->extra_horizontal_reads = 3;
|
| + procs->convolve_vertically = &ConvolveVertically_SSE2;
|
| + procs->convolve_4rows_horizontally = &Convolve4RowsHorizontally_SSE2;
|
| + procs->convolve_horizontally = &ConvolveHorizontally_SSE2;
|
| #elif defined SIMD_MIPS_DSPR2
|
| procs->extra_horizontal_reads = 3;
|
| procs->convolve_vertically = &ConvolveVertically_mips_dspr2;
|
|
|