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

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

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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) 2004, 2005, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2007, 2009 Apple Inc. All rights reserved.
3 * (C) 2005 Rob Buis <buis@kde.org> 3 * (C) 2005 Rob Buis <buis@kde.org>
4 * (C) 2006 Alexander Kellett <lypanov@kde.org> 4 * (C) 2006 Alexander Kellett <lypanov@kde.org>
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 writeNameValuePair(ts, "maskContentUnits", masker->maskContentUnits()); 500 writeNameValuePair(ts, "maskContentUnits", masker->maskContentUnits());
501 ts << "\n"; 501 ts << "\n";
502 } else if (resource->resourceType() == FilterResourceType) { 502 } else if (resource->resourceType() == FilterResourceType) {
503 LayoutSVGResourceFilter* filter = toLayoutSVGResourceFilter(resource); 503 LayoutSVGResourceFilter* filter = toLayoutSVGResourceFilter(resource);
504 writeNameValuePair(ts, "filterUnits", filter->filterUnits()); 504 writeNameValuePair(ts, "filterUnits", filter->filterUnits());
505 writeNameValuePair(ts, "primitiveUnits", filter->primitiveUnits()); 505 writeNameValuePair(ts, "primitiveUnits", filter->primitiveUnits());
506 ts << "\n"; 506 ts << "\n";
507 // Creating a placeholder filter which is passed to the builder. 507 // Creating a placeholder filter which is passed to the builder.
508 FloatRect dummyRect; 508 FloatRect dummyRect;
509 RefPtrWillBeRawPtr<Filter> dummyFilter = Filter::create(dummyRect, dummy Rect, 1, Filter::BoundingBox); 509 RefPtrWillBeRawPtr<Filter> dummyFilter = Filter::create(dummyRect, dummy Rect, 1, Filter::BoundingBox);
510 SVGFilterBuilder builder(dummyFilter->sourceGraphic()); 510 SVGFilterBuilder builder(dummyFilter->getSourceGraphic());
511 builder.buildGraph(dummyFilter.get(), toSVGFilterElement(*filter->elemen t()), dummyRect); 511 builder.buildGraph(dummyFilter.get(), toSVGFilterElement(*filter->elemen t()), dummyRect);
512 if (FilterEffect* lastEffect = builder.lastEffect()) 512 if (FilterEffect* lastEffect = builder.lastEffect())
513 lastEffect->externalRepresentation(ts, indent + 1); 513 lastEffect->externalRepresentation(ts, indent + 1);
514 } else if (resource->resourceType() == ClipperResourceType) { 514 } else if (resource->resourceType() == ClipperResourceType) {
515 writeNameValuePair(ts, "clipPathUnits", toLayoutSVGResourceClipper(resou rce)->clipPathUnits()); 515 writeNameValuePair(ts, "clipPathUnits", toLayoutSVGResourceClipper(resou rce)->clipPathUnits());
516 ts << "\n"; 516 ts << "\n";
517 } else if (resource->resourceType() == MarkerResourceType) { 517 } else if (resource->resourceType() == MarkerResourceType) {
518 LayoutSVGResourceMarker* marker = toLayoutSVGResourceMarker(resource); 518 LayoutSVGResourceMarker* marker = toLayoutSVGResourceMarker(resource);
519 writeNameValuePair(ts, "markerUnits", marker->markerUnits()); 519 writeNameValuePair(ts, "markerUnits", marker->markerUnits());
520 ts << " [ref at " << marker->referencePoint() << "]"; 520 ts << " [ref at " << marker->referencePoint() << "]";
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 ts << " "; 665 ts << " ";
666 writeNameAndQuotedValue(ts, "filter", svgStyle.filterResource()); 666 writeNameAndQuotedValue(ts, "filter", svgStyle.filterResource());
667 ts << " "; 667 ts << " ";
668 writeStandardPrefix(ts, *filter, 0); 668 writeStandardPrefix(ts, *filter, 0);
669 ts << " " << filter->resourceBoundingBox(&layoutObject) << "\n"; 669 ts << " " << filter->resourceBoundingBox(&layoutObject) << "\n";
670 } 670 }
671 } 671 }
672 } 672 }
673 673
674 } // namespace blink 674 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698