| 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 while (a != b) { | 390 while (a != b) { |
| 391 a = a->parent(); | 391 a = a->parent(); |
| 392 b = b->parent(); | 392 b = b->parent(); |
| 393 } | 393 } |
| 394 return a; | 394 return a; |
| 395 } | 395 } |
| 396 | 396 |
| 397 // Explicitly instantiate the template for all supported types. This allows | 397 // Explicitly instantiate the template for all supported types. This allows |
| 398 // placing the template implementation in this .cpp file. See | 398 // placing the template implementation in this .cpp file. See |
| 399 // http://stackoverflow.com/a/488989 for more. | 399 // http://stackoverflow.com/a/488989 for more. |
| 400 template const EffectPaintPropertyNode* GeometryMapper::lowestCommonAncestor( | 400 template const EffectPaintPropertyNode* GeometryMapper::LowestCommonAncestor( |
| 401 const EffectPaintPropertyNode*, | 401 const EffectPaintPropertyNode*, |
| 402 const EffectPaintPropertyNode*); | 402 const EffectPaintPropertyNode*); |
| 403 template const TransformPaintPropertyNode* GeometryMapper::lowestCommonAncestor( | 403 template const TransformPaintPropertyNode* GeometryMapper::LowestCommonAncestor( |
| 404 const TransformPaintPropertyNode*, | 404 const TransformPaintPropertyNode*, |
| 405 const TransformPaintPropertyNode*); | 405 const TransformPaintPropertyNode*); |
| 406 template const ClipPaintPropertyNode* GeometryMapper::lowestCommonAncestor( | 406 template const ClipPaintPropertyNode* GeometryMapper::LowestCommonAncestor( |
| 407 const ClipPaintPropertyNode*, | 407 const ClipPaintPropertyNode*, |
| 408 const ClipPaintPropertyNode*); | 408 const ClipPaintPropertyNode*); |
| 409 template const ScrollPaintPropertyNode* GeometryMapper::lowestCommonAncestor( | 409 template const ScrollPaintPropertyNode* GeometryMapper::LowestCommonAncestor( |
| 410 const ScrollPaintPropertyNode*, | 410 const ScrollPaintPropertyNode*, |
| 411 const ScrollPaintPropertyNode*); | 411 const ScrollPaintPropertyNode*); |
| 412 | 412 |
| 413 } // namespace blink | 413 } // namespace blink |
| OLD | NEW |