diff -r 57c618273d5c -r bbf46f59e123 graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c --- a/graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c Thu Aug 19 11:11:18 2010 +0300 +++ b/graphicscomposition/openwfcompositionengine/composition/src/wfcelement.c Tue Aug 31 16:31:06 2010 +0300 @@ -1,4 +1,5 @@ -/* Copyright (c) 2009 The Khronos Group Inc. +/* Copyright (c) 2009-2010 The Khronos Group Inc. + * Portions copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies) * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (the @@ -141,6 +142,8 @@ { static WFCint nextElementHandle = FIRST_ELEMENT_HANDLE; WFC_ELEMENT* element; + + OWF_ASSERT(context); element = (WFC_ELEMENT*)OWF_Pool_GetObject(context->elementPool); @@ -390,10 +393,7 @@ case WFC_ELEMENT_SOURCE_FLIP: { - WFCboolean flip = (WFCboolean) value; - - result = BOOLEAN_TO_ERROR((WFC_TRUE == flip || - WFC_FALSE == flip)); + result = WFC_ERROR_NONE; break; }