| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "platform/graphics/paint/GeometryMapper.h" | 5 #include "platform/graphics/paint/GeometryMapper.h" |
| 6 | 6 |
| 7 #include "platform/RuntimeEnabledFeatures.h" | 7 #include "platform/RuntimeEnabledFeatures.h" |
| 8 #include "platform/geometry/LayoutRect.h" | 8 #include "platform/geometry/LayoutRect.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 while (a != b) { | 454 while (a != b) { |
| 455 a = a->parent(); | 455 a = a->parent(); |
| 456 b = b->parent(); | 456 b = b->parent(); |
| 457 } | 457 } |
| 458 return a; | 458 return a; |
| 459 } | 459 } |
| 460 | 460 |
| 461 // Explicitly instantiate the template for all supported types. This allows | 461 // Explicitly instantiate the template for all supported types. This allows |
| 462 // placing the template implementation in this .cpp file. See | 462 // placing the template implementation in this .cpp file. See |
| 463 // http://stackoverflow.com/a/488989 for more. | 463 // http://stackoverflow.com/a/488989 for more. |
| 464 template const EffectPaintPropertyNode* GeometryMapper::lowestCommonAncestor( | 464 template const EffectPaintPropertyNode* GeometryMapper::LowestCommonAncestor( |
| 465 const EffectPaintPropertyNode*, | 465 const EffectPaintPropertyNode*, |
| 466 const EffectPaintPropertyNode*); | 466 const EffectPaintPropertyNode*); |
| 467 template const TransformPaintPropertyNode* GeometryMapper::lowestCommonAncestor( | 467 template const TransformPaintPropertyNode* GeometryMapper::LowestCommonAncestor( |
| 468 const TransformPaintPropertyNode*, | 468 const TransformPaintPropertyNode*, |
| 469 const TransformPaintPropertyNode*); | 469 const TransformPaintPropertyNode*); |
| 470 template const ClipPaintPropertyNode* GeometryMapper::lowestCommonAncestor( | 470 template const ClipPaintPropertyNode* GeometryMapper::LowestCommonAncestor( |
| 471 const ClipPaintPropertyNode*, | 471 const ClipPaintPropertyNode*, |
| 472 const ClipPaintPropertyNode*); | 472 const ClipPaintPropertyNode*); |
| 473 template const ScrollPaintPropertyNode* GeometryMapper::lowestCommonAncestor( | 473 template const ScrollPaintPropertyNode* GeometryMapper::LowestCommonAncestor( |
| 474 const ScrollPaintPropertyNode*, | 474 const ScrollPaintPropertyNode*, |
| 475 const ScrollPaintPropertyNode*); | 475 const ScrollPaintPropertyNode*); |
| 476 | 476 |
| 477 } // namespace blink | 477 } // namespace blink |
| OLD | NEW |