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

Unified Diff: third_party/WebKit/Source/core/svg/SVGSVGElement.cpp

Issue 1374233003: Remove SVGSVGElement.pixelUnitToMillimeterX and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
Index: third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
index ca3567191cd7d0983a6b5ae45922ccb2fd81fb81..fce14cf46b7e1a0a43f5fcb5ced6709fae88b061 100644
--- a/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.cpp
@@ -106,26 +106,6 @@ PassRefPtrWillBeRawPtr<SVGRectTearOff> SVGSVGElement::viewport() const
return SVGRectTearOff::create(SVGRect::create(), 0, PropertyIsNotAnimVal);
}
-float SVGSVGElement::pixelUnitToMillimeterX() const
-{
- return 1 / cssPixelsPerMillimeter;
-}
-
-float SVGSVGElement::pixelUnitToMillimeterY() const
-{
- return 1 / cssPixelsPerMillimeter;
-}
-
-float SVGSVGElement::screenPixelToMillimeterX() const
-{
- return pixelUnitToMillimeterX();
-}
-
-float SVGSVGElement::screenPixelToMillimeterY() const
-{
- return pixelUnitToMillimeterY();
-}
-
SVGViewSpec* SVGSVGElement::currentView()
{
if (!m_viewSpec)
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGSVGElement.h ('k') | third_party/WebKit/Source/core/svg/SVGSVGElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698