| 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 // a transform, transparency layer, etc. | 421 // a transform, transparency layer, etc. |
| 422 Element* elt; | 422 Element* elt; |
| 423 for (elt = document()->ownerElement(); view() && elt && elt->renderer(); elt
= elt->document()->ownerElement()) { | 423 for (elt = document()->ownerElement(); view() && elt && elt->renderer(); elt
= elt->document()->ownerElement()) { |
| 424 RenderLayer* layer = elt->renderer()->enclosingLayer(); | 424 RenderLayer* layer = elt->renderer()->enclosingLayer(); |
| 425 if (layer->cannotBlitToWindow()) { | 425 if (layer->cannotBlitToWindow()) { |
| 426 frameView()->setCannotBlitToWindow(); | 426 frameView()->setCannotBlitToWindow(); |
| 427 break; | 427 break; |
| 428 } | 428 } |
| 429 | 429 |
| 430 if (RenderLayer* compositingLayer = layer->enclosingCompositingLayerForR
epaint()) { | 430 if (RenderLayer* compositingLayer = layer->enclosingCompositingLayerForR
epaint()) { |
| 431 if (!compositingLayer->backing()->paintsIntoWindow()) { | 431 frameView()->setCannotBlitToWindow(); |
| 432 frameView()->setCannotBlitToWindow(); | 432 break; |
| 433 break; | |
| 434 } | |
| 435 } | 433 } |
| 436 } | 434 } |
| 437 | 435 |
| 438 if (document()->ownerElement() || !view()) | 436 if (document()->ownerElement() || !view()) |
| 439 return; | 437 return; |
| 440 | 438 |
| 441 if (paintInfo.skipRootBackground()) | 439 if (paintInfo.skipRootBackground()) |
| 442 return; | 440 return; |
| 443 | 441 |
| 444 bool rootFillsViewport = false; | 442 bool rootFillsViewport = false; |
| (...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1155 #endif | 1153 #endif |
| 1156 | 1154 |
| 1157 if (layoutState) | 1155 if (layoutState) |
| 1158 layoutState->m_isPaginated = m_fragmenting; | 1156 layoutState->m_isPaginated = m_fragmenting; |
| 1159 | 1157 |
| 1160 if (m_flowThreadState != RenderObject::NotInsideFlowThread) | 1158 if (m_flowThreadState != RenderObject::NotInsideFlowThread) |
| 1161 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); | 1159 m_root->setFlowThreadStateIncludingDescendants(m_flowThreadState); |
| 1162 } | 1160 } |
| 1163 | 1161 |
| 1164 } // namespace WebCore | 1162 } // namespace WebCore |
| OLD | NEW |