Index: ui/views/controls/label.h |
diff --git a/ui/views/controls/label.h b/ui/views/controls/label.h |
index 66e9fd7bfad39bf545ed9a4b433941f8ebb345e5..7bd577d15d3177c75bc76cf2cf074ae883a9b88f 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 |