Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
1 /*
2 * Copyright 2013 The Android Open Source Project
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
8 void SkDilateX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
9 int width, int height, int srcStride, int dstStride);
10 void SkDilateY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
11 int width, int height, int srcStride, int dstStride);
12 void SkErodeX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
13 int width, int height, int srcStride, int dstStride);
14 void SkErodeY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius,
15 int width, int height, int srcStride, int dstStride);