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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2416033003: Remove unsafe getFontMetrics methods (Closed)
Patch Set: Address wkroman suggestions Created 4 years, 2 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/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index a00c082f22428d1f8711190dff2b068a54952212..c1c73fbd439684a58600bfd5ed95c9d64b9f4256 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -2514,7 +2514,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
// Font properties.
const Font& font() const;
void setFont(const Font&);
- const FontMetrics& getFontMetrics() const;
const FontDescription& getFontDescription() const;
bool setFontDescription(const FontDescription&);
bool hasIdenticalAscentDescentAndLineGap(const ComputedStyle& other) const;
« no previous file with comments | « third_party/WebKit/Source/core/paint/TextPainter.cpp ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698