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

Unified Diff: chrome/common/gfx/chrome_font.h

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.h
diff --git a/chrome/common/gfx/chrome_font.h b/chrome/common/gfx/chrome_font.h
index d4cc49f1c084f2513f3b4f017febd7f1e7f3ea89..f4b2a9abe1feadbed242565c4fda8ee6dd06a5a0 100644
--- a/chrome/common/gfx/chrome_font.h
+++ b/chrome/common/gfx/chrome_font.h
@@ -115,8 +115,10 @@ class ChromeFont {
return dlus * font_ref_->height() / 8;
}
#elif defined(OS_LINUX)
- // We need a copy constructor to deal with the Skia reference counting.
+ // We need a copy constructor and assignment operator to deal with
+ // the Skia reference counting.
ChromeFont(const ChromeFont& other);
+ ChromeFont& operator=(const ChromeFont& other);
// Setup a Skia context to use the current typeface
void PaintSetup(SkPaint* paint) const;
#endif

Powered by Google App Engine
This is Rietveld 408576698