| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 // a transform, transparency layer, etc. | 427 // a transform, transparency layer, etc. |
| 428 Element* elt; | 428 Element* elt; |
| 429 for (elt = document()->ownerElement(); view() && elt && elt->renderer(); elt
= elt->document()->ownerElement()) { | 429 for (elt = document()->ownerElement(); view() && elt && elt->renderer(); elt
= elt->document()->ownerElement()) { |
| 430 RenderLayer* layer = elt->renderer()->enclosingLayer(); | 430 RenderLayer* layer = elt->renderer()->enclosingLayer(); |
| 431 if (layer->cannotBlitToWindow()) { | 431 if (layer->cannotBlitToWindow()) { |
| 432 frameView()->setCannotBlitToWindow(); | 432 frameView()->setCannotBlitToWindow(); |
| 433 break; | 433 break; |
| 434 } | 434 } |
| 435 | 435 |
| 436 if (RenderLayer* compositingLayer = layer->enclosingCompositingLayerForR
epaint()) { | 436 if (RenderLayer* compositingLayer = layer->enclosingCompositingLayerForR
epaint()) { |
| 437 if (!compositingLayer->backing()->paintsIntoWindow()) { | 437 frameView()->setCannotBlitToWindow(); |
| 438 frameView()->setCannotBlitToWindow(); | 438 break; |
| 439 break; | |
| 440 } | |
| 441 } | 439 } |
| 442 } | 440 } |
| 443 | 441 |
| 444 if (document()->ownerElement() || !view()) | 442 if (document()->ownerElement() || !view()) |
| 445 return; | 443 return; |
| 446 | 444 |
| 447 if (paintInfo.skipRootBackground()) | 445 if (paintInfo.skipRootBackground()) |
| 448 return; | 446 return; |
| 449 | 447 |
| 450 bool rootFillsViewport = false; | 448 bool rootFillsViewport = false; |
| (...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1161 #endif | 1159 #endif |
| 1162 | 1160 |
| 1163 if (layoutState) | 1161 if (layoutState) |
| 1164 layoutState->m_isPaginated = m_fragmenting; | 1162 layoutState->m_isPaginated = m_fragmenting; |
| 1165 | 1163 |
| 1166 if (m_flowThreadState != RenderObject::NotInsideFlowThread) | 1164 if (m_flowThreadState != RenderObject::NotInsideFlowThread) |
| 1167 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); | 1165 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); |
| 1168 } | 1166 } |
| 1169 | 1167 |
| 1170 } // namespace WebCore | 1168 } // namespace WebCore |
| OLD | NEW |