| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 4246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4257 return canThrottleRendering() && lifecycle().throttlingAllowed(); | 4257 return canThrottleRendering() && lifecycle().throttlingAllowed(); |
| 4258 } | 4258 } |
| 4259 | 4259 |
| 4260 bool FrameView::canThrottleRendering() const | 4260 bool FrameView::canThrottleRendering() const |
| 4261 { | 4261 { |
| 4262 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) | 4262 if (!RuntimeEnabledFeatures::renderingPipelineThrottlingEnabled()) |
| 4263 return false; | 4263 return false; |
| 4264 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot
tling); | 4264 return m_subtreeThrottled || (m_hiddenForThrottling && m_crossOriginForThrot
tling); |
| 4265 } | 4265 } |
| 4266 | 4266 |
| 4267 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const | |
| 4268 { | |
| 4269 ASSERT(!layoutViewItem().isNull()); | |
| 4270 return *layoutView(); | |
| 4271 } | |
| 4272 | |
| 4273 } // namespace blink | 4267 } // namespace blink |
| OLD | NEW |