| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "SkOpts.h" | 8 #include "SkOpts.h" |
| 9 | 9 |
| 10 #define SK_OPTS_NS sse42 | 10 #define SK_OPTS_NS crc32 |
| 11 #include "SkChecksum_opts.h" | 11 #include "SkChecksum_opts.h" |
| 12 | 12 |
| 13 namespace SkOpts { | 13 namespace SkOpts { |
| 14 void Init_sse42() { | 14 void Init_crc32() { |
| 15 hash_fn = sse42::hash_fn; | 15 hash_fn = crc32::hash_fn; |
| 16 } | 16 } |
| 17 } | 17 } |
| 18 | |
| OLD | NEW |