#include "platform/geometry/TransformState.h"
#include "wtf/TemporaryChange.h"
-namespace WebCore {
+namespace blink {
RenderGeometryMap::RenderGeometryMap(MapCoordinatesFlags flags)
: m_insertionPosition(kNotFound)
}
bool inFixed = false;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
bool foundContainer = !container || (m_mapping.size() && m_mapping[0].m_renderer == container);
#endif
// If container is the root RenderView (step 0) we want to apply its fixed position offset.
if (i > 0 && currentStep.m_renderer == container) {
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
foundContainer = true;
#endif
break;
result = transformState.lastPlanarPoint();
}
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
if (m_mapping.size() > 0) {
const RenderObject* lastRenderer = m_mapping.last().m_renderer;
const RenderLayer* layer = lastRenderer->enclosingLayer();
result = transformState.lastPlanarQuad().boundingBox();
}
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
if (m_mapping.size() > 0) {
const RenderObject* lastRenderer = m_mapping.last().m_renderer;
const RenderLayer* layer = lastRenderer->enclosingLayer();
}
}
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
bool RenderGeometryMap::isTopmostRenderView(const RenderObject* renderer) const
{
if (!renderer->isRenderView())
}
#endif
-} // namespace WebCore
+} // namespace blink