diff options
author | 2012-08-23 18:14:13 +0000 | |
---|---|---|
committer | 2012-08-23 18:14:13 +0000 | |
commit | d6176b0dcacb124539e0cfd051e6d93a9782f020 (patch) | |
tree | 9e6f4b465e54c9b26e1ba70cd8890b55abb08464 /src/sfnt | |
parent | fbfcd5602128ec010c82cb733c9cdc0a3254f9f3 (diff) |
Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/)
This CL is part II of IV (I broke down the 1280 files into 4 CLs).
Review URL: https://codereview.appspot.com/6474054
git-svn-id: http://skia.googlecode.com/svn/trunk@5263 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/sfnt')
-rw-r--r-- | src/sfnt/SkOTUtils.cpp | 2 | ||||
-rw-r--r-- | src/sfnt/SkTypedEnum.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sfnt/SkOTUtils.cpp b/src/sfnt/SkOTUtils.cpp index 61edabd02d..6e94437e2a 100644 --- a/src/sfnt/SkOTUtils.cpp +++ b/src/sfnt/SkOTUtils.cpp @@ -73,7 +73,7 @@ SkData* SkOTUtils::RenameFont(SkStream* fontData, //originalDataSize is the size of the original data without the name table. size_t originalDataSize = fontData->getLength() - oldNameTablePhysicalSize; size_t newDataSize = originalDataSize + nameTablePhysicalSize; - + SK_OT_BYTE* data = static_cast<SK_OT_BYTE*>(sk_malloc_throw(newDataSize)); SkAutoTUnref<SkData> rewrittenFontData(SkData::NewFromMalloc(data, newDataSize)); diff --git a/src/sfnt/SkTypedEnum.h b/src/sfnt/SkTypedEnum.h index ce1a93996c..73d7314885 100644 --- a/src/sfnt/SkTypedEnum.h +++ b/src/sfnt/SkTypedEnum.h @@ -40,7 +40,7 @@ SK_PAIR_FIRST(elem) = SK_PAIR_SECOND(elem), #define SK_TYPED_ENUM_IDS(data, elem) \ - elem, + elem, #define SK_TYPED_ENUM_IDS_L(data, elem) \ elem |