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

Unified Diff: ui/gfx/render_text_mac.cc

Issue 922923002: ui: Cleanup the usage of scoped_ptr throughout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 10 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
« no previous file with comments | « ui/gfx/render_text_harfbuzz.cc ('k') | ui/gl/gl_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_mac.cc
diff --git a/ui/gfx/render_text_mac.cc b/ui/gfx/render_text_mac.cc
index 32731d4259872aed3bfde4a56012c519c11e4e0b..e60ecca6543b5744491641d531c9e7e7cd728954 100644
--- a/ui/gfx/render_text_mac.cc
+++ b/ui/gfx/render_text_mac.cc
@@ -25,7 +25,7 @@ RenderTextMac::~RenderTextMac() {
}
scoped_ptr<RenderText> RenderTextMac::CreateInstanceOfSameType() const {
- return scoped_ptr<RenderTextMac>(new RenderTextMac);
+ return make_scoped_ptr(new RenderTextMac);
}
const base::string16& RenderTextMac::GetDisplayText() {
« no previous file with comments | « ui/gfx/render_text_harfbuzz.cc ('k') | ui/gl/gl_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698