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) |