OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/layout/PaintInvalidationState.h" | 5 #include "core/layout/PaintInvalidationState.h" |
6 | 6 |
7 #include "core/frame/FrameView.h" | 7 #include "core/frame/FrameView.h" |
8 #include "core/frame/Settings.h" | 8 #include "core/frame/Settings.h" |
9 #include "core/layout/LayoutInline.h" | 9 #include "core/layout/LayoutInline.h" |
10 #include "core/layout/LayoutPart.h" | 10 #include "core/layout/LayoutPart.h" |
11 #include "core/layout/LayoutView.h" | 11 #include "core/layout/LayoutView.h" |
12 #include "core/layout/svg/LayoutSVGModelObject.h" | |
13 #include "core/layout/svg/LayoutSVGRoot.h" | 12 #include "core/layout/svg/LayoutSVGRoot.h" |
14 #include "core/layout/svg/SVGLayoutSupport.h" | 13 #include "core/layout/svg/SVGLayoutSupport.h" |
15 #include "core/paint/PaintLayer.h" | 14 #include "core/paint/PaintLayer.h" |
16 | 15 |
17 namespace blink { | 16 namespace blink { |
18 | 17 |
19 static bool supportsCachedOffsets(const LayoutObject& object) | 18 static bool supportsCachedOffsets(const LayoutObject& object) |
20 { | 19 { |
21 return !object.hasTransformRelatedProperty() | 20 return !object.hasTransformRelatedProperty() |
22 && !object.hasReflection() | 21 && !object.hasReflection() |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 WTFLogAlways("Fast path paint invalidation rect differs from slow path: fast
: %s vs slow: %s", | 486 WTFLogAlways("Fast path paint invalidation rect differs from slow path: fast
: %s vs slow: %s", |
488 fastPathRect.toString().ascii().data(), slowPathRect.toString().ascii().
data()); | 487 fastPathRect.toString().ascii().data(), slowPathRect.toString().ascii().
data()); |
489 showLayoutTree(&m_currentObject); | 488 showLayoutTree(&m_currentObject); |
490 | 489 |
491 ASSERT_NOT_REACHED(); | 490 ASSERT_NOT_REACHED(); |
492 } | 491 } |
493 | 492 |
494 #endif // CHECK_FAST_PATH_SLOW_PATH_EQUALITY | 493 #endif // CHECK_FAST_PATH_SLOW_PATH_EQUALITY |
495 | 494 |
496 } // namespace blink | 495 } // namespace blink |
OLD | NEW |