Skip to content

Commit

Permalink
add SK_LEGACY_DRAWPICTURECALLBACK guard flag
Browse files Browse the repository at this point in the history
Used until chrome switches to the new skia api

BUG=
TBR=robertphilips@chromium.org

Review URL: https://codereview.chromium.org/1014473005

Cr-Commit-Position: refs/heads/master@{#320830}
  • Loading branch information
reed-at-google authored and Commit bot committed Mar 17, 2015
1 parent 1f11e92 commit c970478
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skia/config/SkUserConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_SUPPORT_LEGACY_GETTOPDEVICE
#endif

#ifndef SK_LEGACY_DRAWPICTURECALLBACK
# define SK_LEGACY_DRAWPICTURECALLBACK
#endif

#ifndef SK_SUPPORT_LEGACY_GETDEVICE
# define SK_SUPPORT_LEGACY_GETDEVICE
#endif
Expand Down

0 comments on commit c970478

Please sign in to comment.