/* Workaround Patches */
#define ENABLE_TIZEN_PREVENT_INCREMENTAL_IMAGE_RENDERING_WORKAROUND 1 /* Ryuan Choi(ryuan.choi@samsung.com) : */
-/* fix for showing callendar on expedia site when frame flattening enabled */
-#define ENABLE_TIZEN_EXPEDIA_CALENDAR_FIX 1
#define ENABLE_TIZEN_POPUP_FIX 1
/* fix for connection timeout */
#define ENABLE_TIZEN_TIMEOUT_FIX 1 /* Łukasz Ślachciak(l.slachciak@samsung.com) : */
#define ENABLE_TIZEN_FIX_BUILD_BREAK_GCC 1 /* Sanggyu Lee(sg5.lee@samsung.com) : Fixed a fastMalloc compile error for Thumb2 with GCC */
/* View mode patches */
#define ENABLE_TIZEN_VIEW_MODE 1 /* Who is ownver ? : */
-#define ENABLE_TIZEN_PREVENT_CRASH_VIMEO_SITE 1 /* Jaehun Lim(ljaehun.lim@samsung.com) : Add NULL check to prevent crash in vimeo.com (for i386 or non-flash environment) */
/* Workaround for using the defaut encoding set */
#define ENABLE_TIZEN_FIX_CLIP_PATTERN_RECT 1 /* Kyungjin Kim(gen.kim@samsung.com) : adjust clip rect to the min of pattern and clip for repeatX, repeatY */
#define ENABLE_TIZEN_2D_CANVAS_ZERO_GRADIENT 1 /* Rashmi Shyamasundar (rashmi.s2@samsung.com) : If the gradient size is zero, then the functions fillXXX/strokeXXX should paint nothing */
if (relayoutChildren && box->needsPreferredWidthsRecalculation())
o->setPreferredLogicalWidthsDirty(true, MarkOnlyThis);
-#if ENABLE(TIZEN_PREVENT_CRASH_VIMEO_SITE)
- if (o->isOutOfFlowPositioned() && o->containingBlock())
-#else
if (o->isOutOfFlowPositioned())
-#endif
o->containingBlock()->insertPositionedObject(box);
else if (o->isFloating())
layoutState.floats().append(FloatWithRect(box));
if (state == PressedState && !isEnabled(o))
return false;
-#if ENABLE(TIZEN_EXPEDIA_CALENDAR_FIX)
- if (state == PressedState && isEnabled(o)) {
- Node* node = o->node();
- if (node) {
- Frame* frame = node->document()->frame();
- if (frame) {
- Page* page = frame->page();
- if (page)
- if (page->settings()->frameFlatteningEnabled())
- frame->document()->evaluateMediaQueryList();
- }
- }
- }
-#endif
-
// Repaint the control.
o->repaint();
return true;