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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.h

Issue 1824003002: Document how effective zoom relates to StyleImage sizing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@straighten-out-zoom-and-border
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleImage.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
index b2b816268376495082e0a58f844339d5ce12e5c8..a5d71c8e0901b0f49853ec3f2e8279d28f308c0f 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
@@ -77,7 +77,10 @@ public:
void updateUseCounters(Document&) const;
- FloatSize concreteObjectSize(const FloatSize&) const;
+ // The defaultObjectSize is assumed to be unzoomed, i.e. it should
+ // not have the effective zoom level applied. The returned size is
+ // thus also independent of current zoom level.
+ FloatSize concreteObjectSize(const FloatSize& defaultObjectSize) const;
// DisplayItemClient methods.
String debugName() const final { return "SVGImage"; }
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleImage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698