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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGImageElement.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, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Rob Buis <buis@kde.org>
4 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> 4 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 visitor->trace(m_preserveAspectRatio); 57 visitor->trace(m_preserveAspectRatio);
58 visitor->trace(m_imageLoader); 58 visitor->trace(m_imageLoader);
59 SVGGraphicsElement::trace(visitor); 59 SVGGraphicsElement::trace(visitor);
60 SVGURIReference::trace(visitor); 60 SVGURIReference::trace(visitor);
61 } 61 }
62 62
63 bool SVGImageElement::currentFrameHasSingleSecurityOrigin() const 63 bool SVGImageElement::currentFrameHasSingleSecurityOrigin() const
64 { 64 {
65 if (LayoutSVGImage* layoutSVGImage = toLayoutSVGImage(layoutObject())) { 65 if (LayoutSVGImage* layoutSVGImage = toLayoutSVGImage(layoutObject())) {
66 if (layoutSVGImage->imageResource()->hasImage()) { 66 if (layoutSVGImage->imageResource()->hasImage()) {
67 if (Image* image = layoutSVGImage->imageResource()->cachedImage()->i mage()) 67 if (Image* image = layoutSVGImage->imageResource()->cachedImage()->g etImage())
68 return image->currentFrameHasSingleSecurityOrigin(); 68 return image->currentFrameHasSingleSecurityOrigin();
69 } 69 }
70 } 70 }
71 71
72 return true; 72 return true;
73 } 73 }
74 74
75 bool SVGImageElement::isPresentationAttribute(const QualifiedName& attrName) con st 75 bool SVGImageElement::isPresentationAttribute(const QualifiedName& attrName) con st
76 { 76 {
77 if (attrName == SVGNames::xAttr || attrName == SVGNames::yAttr 77 if (attrName == SVGNames::xAttr || attrName == SVGNames::yAttr
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 return AtomicString(hrefString()); 200 return AtomicString(hrefString());
201 } 201 }
202 202
203 void SVGImageElement::didMoveToNewDocument(Document& oldDocument) 203 void SVGImageElement::didMoveToNewDocument(Document& oldDocument)
204 { 204 {
205 imageLoader().elementDidMoveToNewDocument(); 205 imageLoader().elementDidMoveToNewDocument();
206 SVGGraphicsElement::didMoveToNewDocument(oldDocument); 206 SVGGraphicsElement::didMoveToNewDocument(oldDocument);
207 } 207 }
208 208
209 } // namespace blink 209 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698