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

Unified Diff: Source/platform/fonts/SegmentedFontData.h

Issue 401553002: Introduce DEFINE_FONT_DATA_TYPE_CASTS, and use it (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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: Source/platform/fonts/SegmentedFontData.h
diff --git a/Source/platform/fonts/SegmentedFontData.h b/Source/platform/fonts/SegmentedFontData.h
index db828ad2c3c562637bbd1fb1e0beaa66b909d892..cb90e60e47e070f62b25fbfb4a09fc6d73d685b9 100644
--- a/Source/platform/fonts/SegmentedFontData.h
+++ b/Source/platform/fonts/SegmentedFontData.h
@@ -82,7 +82,7 @@ private:
Vector<FontDataRange, 1> m_ranges;
};
-DEFINE_TYPE_CASTS(SegmentedFontData, FontData, fontData, fontData->isSegmented(), fontData.isSegmented());
+DEFINE_FONT_DATA_TYPE_CASTS(SegmentedFontData, true);
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698