OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. |
7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 1134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1145 } | 1145 } |
1146 | 1146 |
1147 LayoutRect RenderObject::computePaintInvalidationRect(const RenderLayerModelObje
ct* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationS
tate) const | 1147 LayoutRect RenderObject::computePaintInvalidationRect(const RenderLayerModelObje
ct* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationS
tate) const |
1148 { | 1148 { |
1149 return clippedOverflowRectForPaintInvalidation(paintInvalidationContainer, p
aintInvalidationState); | 1149 return clippedOverflowRectForPaintInvalidation(paintInvalidationContainer, p
aintInvalidationState); |
1150 } | 1150 } |
1151 | 1151 |
1152 void RenderObject::invalidatePaintUsingContainer(const RenderLayerModelObject* p
aintInvalidationContainer, const LayoutRect& r, PaintInvalidationReason invalida
tionReason) const | 1152 void RenderObject::invalidatePaintUsingContainer(const RenderLayerModelObject* p
aintInvalidationContainer, const LayoutRect& r, PaintInvalidationReason invalida
tionReason) const |
1153 { | 1153 { |
1154 if (RuntimeEnabledFeatures::slimmingPaintEnabled()) | 1154 if (RuntimeEnabledFeatures::slimmingPaintEnabled()) |
1155 view()->viewDisplayList().invalidate(this); | 1155 ViewDisplayList::fromRenderObject(this).invalidate(this); |
1156 | 1156 |
1157 if (r.isEmpty()) | 1157 if (r.isEmpty()) |
1158 return; | 1158 return; |
1159 | 1159 |
1160 RELEASE_ASSERT(isRooted()); | 1160 RELEASE_ASSERT(isRooted()); |
1161 | 1161 |
1162 // FIXME: Unify "devtools.timeline.invalidationTracking" and "blink.invalida
tion". crbug.com/413527. | 1162 // FIXME: Unify "devtools.timeline.invalidationTracking" and "blink.invalida
tion". crbug.com/413527. |
1163 TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidati
onTracking"), | 1163 TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidati
onTracking"), |
1164 "PaintInvalidationTracking", | 1164 "PaintInvalidationTracking", |
1165 "data", InspectorPaintInvalidationTrackingEvent::data(this, paintInvalid
ationContainer)); | 1165 "data", InspectorPaintInvalidationTrackingEvent::data(this, paintInvalid
ationContainer)); |
(...skipping 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3153 { | 3153 { |
3154 if (object1) { | 3154 if (object1) { |
3155 const blink::RenderObject* root = object1; | 3155 const blink::RenderObject* root = object1; |
3156 while (root->parent()) | 3156 while (root->parent()) |
3157 root = root->parent(); | 3157 root = root->parent(); |
3158 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 3158 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
3159 } | 3159 } |
3160 } | 3160 } |
3161 | 3161 |
3162 #endif | 3162 #endif |
OLD | NEW |