From f6351a071810b3a848a5002a0c0ba7e1490fd0db Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Fri, 30 May 2014 21:00:52 +0000 Subject: Revert of Port most uses of SkOnce to SkLazyPtr. (https://codereview.chromium.org/304383005/) Reason for revert: Leaking refs on SkTypeface on Macs. Original issue's description: > Port most uses of SkOnce to SkLazyPtr. > > BUG=skia: > > Committed: http://code.google.com/p/skia/source/detail?r=15006 R=reed@google.com, mtklein@chromium.org TBR=mtklein@chromium.org, reed@google.com NOTREECHECKS=true NOTRY=true BUG=skia: Author: mtklein@google.com Review URL: https://codereview.chromium.org/304283007 git-svn-id: http://skia.googlecode.com/svn/trunk@15009 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkPathRef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/core/SkPathRef.h') diff --git a/include/core/SkPathRef.h b/include/core/SkPathRef.h index 47a69b7e73..8802714243 100644 --- a/include/core/SkPathRef.h +++ b/include/core/SkPathRef.h @@ -418,7 +418,7 @@ private: /** * Called the first time someone calls CreateEmpty to actually create the singleton. */ - static SkPathRef* CreateEmptyImpl(); + static void CreateEmptyImpl(int/*unused*/); void setIsOval(bool isOval) { fIsOval = isOval; } -- cgit v1.2.3