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 |