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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.h

Issue 1821833003: Remove unused SVGTextMetrics constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void setWidth(float width) { m_width = width; } 48 void setWidth(float width) { m_width = width; }
49 49
50 float height() const { return m_height; } 50 float height() const { return m_height; }
51 51
52 // TODO(kojii): We should store logical width (advance) and height instead 52 // TODO(kojii): We should store logical width (advance) and height instead
53 // of storing physical and calculate logical. crbug.com/544767 53 // of storing physical and calculate logical. crbug.com/544767
54 float advance(FontOrientation) const; 54 float advance(FontOrientation) const;
55 unsigned length() const { return m_length; } 55 unsigned length() const { return m_length; }
56 56
57 private: 57 private:
58 SVGTextMetrics(LineLayoutSVGInlineText, const TextRun&);
59
60 float m_width; 58 float m_width;
61 float m_height; 59 float m_height;
62 unsigned m_length; 60 unsigned m_length;
63 }; 61 };
64 62
65 } // namespace blink 63 } // namespace blink
66 64
67 #endif 65 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/svg/SVGTextMetrics.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698