diff options
Diffstat (limited to 'chrome/common/gfx/chrome_font_skia.cc')
-rw-r--r-- | chrome/common/gfx/chrome_font_skia.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/gfx/chrome_font_skia.cc b/chrome/common/gfx/chrome_font_skia.cc index 728893c..1b76a2d 100644 --- a/chrome/common/gfx/chrome_font_skia.cc +++ b/chrome/common/gfx/chrome_font_skia.cc @@ -14,6 +14,11 @@ ChromeFont::ChromeFont(const ChromeFont& other) { CopyChromeFont(other); } +ChromeFont& ChromeFont::operator=(const ChromeFont& other) { + CopyChromeFont(other); + return *this; +} + ChromeFont::ChromeFont(SkTypeface* tf, const std::wstring& font_name, int font_size, int style) : typeface_helper_(new SkAutoUnref(tf)), |