Commit cab18149 authored by Mike Reed's avatar Mike Reed Committed by Commit Bot

switch over to safer computeByteSize behavior

Bug: 
Change-Id: Iad90ce84c62671e40f607a26674a1b48f351b432
Reviewed-on: https://chromium-review.googlesource.com/709634
Commit-Queue: Mike Reed <reed@chromium.org>
Reviewed-by: default avatarFlorin Malita <fmalita@chromium.org>
Cr-Commit-Position: refs/heads/master@{#507962}
parent 64853efb
......@@ -200,8 +200,8 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
// Remove this after we fixed all the issues related to the new SDF algorithm
// (https://codereview.chromium.org/1643143002)
#ifndef SK_USE_LEGACY_DISTANCE_FIELDS
# define SK_USE_LEGACY_DISTANCE_FIELDS
#ifndef SK_USE_LEGACY_DISTANCE_FIELDS
#define SK_USE_LEGACY_DISTANCE_FIELDS
#endif
#ifndef SK_DISABLE_DEFERRED_PROXIES
......@@ -232,10 +232,6 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
#define SK_COLOR_SPACE_XFORM_LEGACY_PIPELINE
#endif
#ifndef SK_SUPPORT_LEGACY_COMPUTEBYTESIZE_RET_0
#define SK_SUPPORT_LEGACY_COMPUTEBYTESIZE_RET_0
#endif
///////////////////////// Imported from BUILD.gn and skia_common.gypi
/* In some places Skia can use static initializers for global initialization,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment