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

Unified Diff: cc/CCFontAtlas.h

Issue 11047032: cc: Use syntax sugar 'make_scoped_ptr' in more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | « cc/CCDirectRenderer.h ('k') | cc/CCIOSurfaceDrawQuad.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCFontAtlas.h
diff --git a/cc/CCFontAtlas.h b/cc/CCFontAtlas.h
index 570df8cf3efd9d0d3e914d77eedc042ba8600b94..2881ee9a55abc92982b77fb0273e6711f42b21ce 100644
--- a/cc/CCFontAtlas.h
+++ b/cc/CCFontAtlas.h
@@ -32,7 +32,7 @@ class CCFontAtlas {
public:
static scoped_ptr<CCFontAtlas> create(SkBitmap bitmap, IntRect asciiToRectTable[128], int fontHeight)
{
- return scoped_ptr<CCFontAtlas>(new CCFontAtlas(bitmap, asciiToRectTable, fontHeight));
+ return make_scoped_ptr(new CCFontAtlas(bitmap, asciiToRectTable, fontHeight));
}
~CCFontAtlas();
@@ -63,7 +63,7 @@ private:
DISALLOW_COPY_AND_ASSIGN(CCFontAtlas);
};
-} // namespace cc
+} // namespace cc
#endif // USE(ACCELERATED_COMPOSITING)
« no previous file with comments | « cc/CCDirectRenderer.h ('k') | cc/CCIOSurfaceDrawQuad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698