Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1087)

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp

Issue 2809363002: Rewrite references to "wtf/" to "platform/wtf/" in core/layout. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Rob Buis <buis@kde.org> 2 * Copyright (C) 2007, 2008 Rob Buis <buis@kde.org>
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. All rights reserved. 5 * Copyright (C) 2009 Google, Inc. All rights reserved.
6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
7 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. 7 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 24 matching lines...) Expand all
35 #include "core/layout/svg/LayoutSVGText.h" 35 #include "core/layout/svg/LayoutSVGText.h"
36 #include "core/layout/svg/LayoutSVGTransformableContainer.h" 36 #include "core/layout/svg/LayoutSVGTransformableContainer.h"
37 #include "core/layout/svg/LayoutSVGViewportContainer.h" 37 #include "core/layout/svg/LayoutSVGViewportContainer.h"
38 #include "core/layout/svg/SVGResources.h" 38 #include "core/layout/svg/SVGResources.h"
39 #include "core/layout/svg/SVGResourcesCache.h" 39 #include "core/layout/svg/SVGResourcesCache.h"
40 #include "core/page/Page.h" 40 #include "core/page/Page.h"
41 #include "core/paint/PaintLayer.h" 41 #include "core/paint/PaintLayer.h"
42 #include "core/svg/SVGElement.h" 42 #include "core/svg/SVGElement.h"
43 #include "platform/geometry/TransformState.h" 43 #include "platform/geometry/TransformState.h"
44 #include "platform/graphics/StrokeData.h" 44 #include "platform/graphics/StrokeData.h"
45 #include "wtf/MathExtras.h" 45 #include "platform/wtf/MathExtras.h"
46 46
47 namespace blink { 47 namespace blink {
48 48
49 struct SearchCandidate { 49 struct SearchCandidate {
50 SearchCandidate() 50 SearchCandidate()
51 : candidate_layout_object(nullptr), 51 : candidate_layout_object(nullptr),
52 candidate_distance(std::numeric_limits<float>::max()) {} 52 candidate_distance(std::numeric_limits<float>::max()) {}
53 SearchCandidate(LayoutObject* layout_object, float distance) 53 SearchCandidate(LayoutObject* layout_object, float distance)
54 : candidate_layout_object(layout_object), candidate_distance(distance) {} 54 : candidate_layout_object(layout_object), candidate_distance(distance) {}
55 LayoutObject* candidate_layout_object; 55 LayoutObject* candidate_layout_object;
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 } 650 }
651 651
652 LayoutObject* SVGLayoutSupport::FindClosestLayoutSVGText( 652 LayoutObject* SVGLayoutSupport::FindClosestLayoutSVGText(
653 LayoutObject* layout_object, 653 LayoutObject* layout_object,
654 const FloatPoint& point) { 654 const FloatPoint& point) {
655 return SearchTreeForFindClosestLayoutSVGText(layout_object, point) 655 return SearchTreeForFindClosestLayoutSVGText(layout_object, point)
656 .candidate_layout_object; 656 .candidate_layout_object;
657 } 657 }
658 658
659 } // namespace blink 659 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698