Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: include/core/SkPostConfig.h

Issue 2278703002: SkPDF: Glyph validation change (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix comment Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/pdf/SkPDFDevice.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 // IWYU pragma: private, include "SkTypes.h" 8 // IWYU pragma: private, include "SkTypes.h"
9 9
10 #ifndef SkPostConfig_DEFINED 10 #ifndef SkPostConfig_DEFINED
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 # endif 238 # endif
239 # define new DEBUG_CLIENTBLOCK 239 # define new DEBUG_CLIENTBLOCK
240 # else 240 # else
241 # define DEBUG_CLIENTBLOCK 241 # define DEBUG_CLIENTBLOCK
242 # endif 242 # endif
243 #endif 243 #endif
244 244
245 ////////////////////////////////////////////////////////////////////// 245 //////////////////////////////////////////////////////////////////////
246 246
247 #if !defined(SK_UNUSED) 247 #if !defined(SK_UNUSED)
248 # define SK_UNUSED SK_ATTRIBUTE(unused) 248 # if defined(_MSC_VER)
249 # define SK_UNUSED __pragma(warning(suppress:4189))
250 # else
251 # define SK_UNUSED SK_ATTRIBUTE(unused)
252 # endif
249 #endif 253 #endif
250 254
251 #if !defined(SK_ATTR_DEPRECATED) 255 #if !defined(SK_ATTR_DEPRECATED)
252 // FIXME: we ignore msg for now... 256 // FIXME: we ignore msg for now...
253 # define SK_ATTR_DEPRECATED(msg) SK_ATTRIBUTE(deprecated) 257 # define SK_ATTR_DEPRECATED(msg) SK_ATTRIBUTE(deprecated)
254 #endif 258 #endif
255 259
256 #if !defined(SK_ATTR_EXTERNALLY_DEPRECATED) 260 #if !defined(SK_ATTR_EXTERNALLY_DEPRECATED)
257 # if !defined(SK_INTERNAL) 261 # if !defined(SK_INTERNAL)
258 # define SK_ATTR_EXTERNALLY_DEPRECATED(msg) SK_ATTR_DEPRECATED(msg) 262 # define SK_ATTR_EXTERNALLY_DEPRECATED(msg) SK_ATTR_DEPRECATED(msg)
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 362
359 #ifndef SK_HISTOGRAM_BOOLEAN 363 #ifndef SK_HISTOGRAM_BOOLEAN
360 # define SK_HISTOGRAM_BOOLEAN(name, value) 364 # define SK_HISTOGRAM_BOOLEAN(name, value)
361 #endif 365 #endif
362 366
363 #ifndef SK_HISTOGRAM_ENUMERATION 367 #ifndef SK_HISTOGRAM_ENUMERATION
364 # define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value) 368 # define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value)
365 #endif 369 #endif
366 370
367 #endif // SkPostConfig_DEFINED 371 #endif // SkPostConfig_DEFINED
OLDNEW
« no previous file with comments | « no previous file | src/pdf/SkPDFDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698