Chromium Code Reviews| Index: src/utils/win/SkDWrite.h |
| diff --git a/src/utils/win/SkDWrite.h b/src/utils/win/SkDWrite.h |
| index e763b4a0972fd89a31e06106d2da8ee46500be4b..123198ce5fe331acbd902f8a3edd2ad5c026e8e3 100644 |
| --- a/src/utils/win/SkDWrite.h |
| +++ b/src/utils/win/SkDWrite.h |
| @@ -29,7 +29,7 @@ typedef SkAutoSTMalloc<16, WCHAR> SkSMallocWCHAR; |
| HRESULT sk_cstring_to_wchar(const char* skname, SkSMallocWCHAR* name); |
| /** Converts a WCHAR string to a utf8 string. */ |
| -HRESULT sk_wchar_to_skstring(WCHAR* name, SkString* skname); |
| +HRESULT sk_wchar_to_skstring(WCHAR* name, int nameLen, SkString* skname); |
|
reed1
2014/08/25 17:04:18
Can we document that nameLen is the number-of-WCHA
bungeman-skia
2014/08/25 17:08:52
Done.
|
| //////////////////////////////////////////////////////////////////////////////// |
| // Locale |