| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 3 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
| 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) | 4 * (C) 2000 Stefan Schimanski (1Stein@gmx.de) |
| 5 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 { | 350 { |
| 351 if (widget() && widget()->isFrameView()) { | 351 if (widget() && widget()->isFrameView()) { |
| 352 FrameView* childFrameView = toFrameView(widget()); | 352 FrameView* childFrameView = toFrameView(widget()); |
| 353 PaintInvalidationState childViewPaintInvalidationState(*childFrameView->
layoutView(), paintInvalidationState); | 353 PaintInvalidationState childViewPaintInvalidationState(*childFrameView->
layoutView(), paintInvalidationState); |
| 354 toFrameView(widget())->invalidateTreeIfNeeded(childViewPaintInvalidation
State); | 354 toFrameView(widget())->invalidateTreeIfNeeded(childViewPaintInvalidation
State); |
| 355 } | 355 } |
| 356 | 356 |
| 357 LayoutReplaced::invalidatePaintOfSubtreesIfNeeded(paintInvalidationState); | 357 LayoutReplaced::invalidatePaintOfSubtreesIfNeeded(paintInvalidationState); |
| 358 } | 358 } |
| 359 | 359 |
| 360 bool LayoutPart::isThrottledFrameView() const |
| 361 { |
| 362 if (!widget() || !widget()->isFrameView()) |
| 363 return false; |
| 364 const FrameView* frameView = toFrameView(widget()); |
| 365 return frameView->shouldThrottleRendering(); |
| 360 } | 366 } |
| 367 |
| 368 } |
| OLD | NEW |