Fix to get r4511 compiling in Debug

git-svn-id: http://skia.googlecode.com/svn/trunk@4512 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2012-07-10 17:41:27 +00:00
parent 59f46b81f8
commit 41f9e6e45d

View File

@ -747,7 +747,7 @@ scalarCommon:
addToken(kEnd);
SkAutoDataUnref data(fStream.copyToData());
#ifdef SK_DEBUG
decompile(data.bytes(), data.size());
decompile(data->bytes(), data->size());
#endif
SkScriptRuntime runtime(fCallBackArray);
runtime.executeTokens((unsigned char*) data->bytes());
@ -1155,7 +1155,7 @@ bool SkScriptEngine2::processOp() {
addToken(kEnd);
SkAutoDataUnref data(fStream.copyToData());
#ifdef SK_DEBUG
decompile(data.bytes(), data.size());
decompile(data->bytes(), data->size());
#endif
SkScriptRuntime runtime(fCallBackArray);
runtime.executeTokens((unsigned char*)data->bytes());