Index: ui/views/controls/label.h |
diff --git a/ui/views/controls/label.h b/ui/views/controls/label.h |
index 92f3007a8c5f274f111836253ca8ddec99c81014..03086180cac9867eacbca615ad261e6b40949873 100644 |
--- a/ui/views/controls/label.h |
+++ b/ui/views/controls/label.h |
@@ -74,7 +74,7 @@ class VIEWS_EXPORT Label : public View { |
gfx::Font font() const { return font_; } |
// Returns the label text. |
- string16 text() const { return text_; }; |
+ const string16& text() const { return text_; }; |
// Enables or disables auto-color-readability (enabled by default). If this |
// is enabled, then calls to set any foreground or background color will |