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 2461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2472 compositeForSlimmingPaintV2(); | 2472 compositeForSlimmingPaintV2(); |
2473 } | 2473 } |
2474 | 2474 |
2475 if (RuntimeEnabledFeatures::frameTimingSupportEnabled()) | 2475 if (RuntimeEnabledFeatures::frameTimingSupportEnabled()) |
2476 updateFrameTimingRequestsIfNeeded(); | 2476 updateFrameTimingRequestsIfNeeded(); |
2477 | 2477 |
2478 ASSERT(!view->hasPendingSelection()); | 2478 ASSERT(!view->hasPendingSelection()); |
2479 ASSERT(lifecycle().state() == DocumentLifecycle::PaintInvalidationCl ean | 2479 ASSERT(lifecycle().state() == DocumentLifecycle::PaintInvalidationCl ean |
2480 || (RuntimeEnabledFeatures::slimmingPaintV2Enabled() && lifecycl e().state() == DocumentLifecycle::CompositingForSlimmingPaintV2Clean)); | 2480 || (RuntimeEnabledFeatures::slimmingPaintV2Enabled() && lifecycl e().state() == DocumentLifecycle::CompositingForSlimmingPaintV2Clean)); |
2481 } | 2481 } |
2482 | |
2483 // Temporary callback for crbug.com/487345,402044 | |
2484 view->sendMediaPositionChangeNotifications(); | |
ojan
2015/09/01 20:20:11
Please move this to the end of the AllPhases branc
liberato (no reviews please)
2015/09/04 06:49:45
Done.
| |
2482 } | 2485 } |
2483 | 2486 |
2484 #ifndef NDEBUG | 2487 #ifndef NDEBUG |
2485 // TODO(jchaffraix): We will want to clear the clip rects in release too | 2488 // TODO(jchaffraix): We will want to clear the clip rects in release too |
2486 // to reduce our long-term memory consumption. However this requires us | 2489 // to reduce our long-term memory consumption. However this requires us |
2487 // to migrate all of the clip rects to the state machine and evaluate | 2490 // to migrate all of the clip rects to the state machine and evaluate |
2488 // the performance impacts of this. | 2491 // the performance impacts of this. |
2489 layoutView()->layer()->clipper().clearClipRectsIncludingDescendants(Absolute ClipRects); | 2492 layoutView()->layer()->clipper().clearClipRectsIncludingDescendants(Absolute ClipRects); |
2490 #endif | 2493 #endif |
2491 } | 2494 } |
(...skipping 1479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3971 | 3974 |
3972 if (!graphicsLayer) | 3975 if (!graphicsLayer) |
3973 return; | 3976 return; |
3974 | 3977 |
3975 DeprecatedPaintLayer::mapRectToPaintInvalidationBacking(localFrame->contentL ayoutObject(), paintInvalidationContainer, viewRect); | 3978 DeprecatedPaintLayer::mapRectToPaintInvalidationBacking(localFrame->contentL ayoutObject(), paintInvalidationContainer, viewRect); |
3976 | 3979 |
3977 graphicsLayerTimingRequests.add(graphicsLayer, Vector<std::pair<int64_t, Web Rect>>()).storedValue->value.append(std::make_pair(m_frame->frameID(), enclosing IntRect(viewRect))); | 3980 graphicsLayerTimingRequests.add(graphicsLayer, Vector<std::pair<int64_t, Web Rect>>()).storedValue->value.append(std::make_pair(m_frame->frameID(), enclosing IntRect(viewRect))); |
3978 } | 3981 } |
3979 | 3982 |
3980 } // namespace blink | 3983 } // namespace blink |
OLD | NEW |