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

Unified Diff: chrome/common/gfx/chrome_font_skia.cc

Issue 17392: Make resource_bundle compile on Linux. (Closed)
Patch Set: Created 11 years, 11 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: chrome/common/gfx/chrome_font_skia.cc
diff --git a/chrome/common/gfx/chrome_font_skia.cc b/chrome/common/gfx/chrome_font_skia.cc
index 728893ce58ffe35d2f91f999ef6d0b60957bc688..1b76a2d27a947e780cec7b1d3f41b56787072b43 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)),

Powered by Google App Engine
This is Rietveld 408576698