From: robertphillips@google.com Date: Tue, 10 Jul 2012 17:41:27 +0000 (+0000) Subject: Fix to get r4511 compiling in Debug X-Git-Tag: submit/tizen/20180928.044319~15657 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41f9e6e45d54c73cc0cc4f84b46b48f9480ff396;p=platform%2Fupstream%2FlibSkiaSharp.git Fix to get r4511 compiling in Debug git-svn-id: http://skia.googlecode.com/svn/trunk@4512 2bbb7eff-a529-9590-31e7-b0007b416f81 --- diff --git a/src/animator/SkScriptTokenizer.cpp b/src/animator/SkScriptTokenizer.cpp index 1be7427275..90a50b6666 100644 --- a/src/animator/SkScriptTokenizer.cpp +++ b/src/animator/SkScriptTokenizer.cpp @@ -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());