Index: app/surface/io_surface_support_mac.cc |
diff --git a/app/surface/io_surface_support_mac.cc b/app/surface/io_surface_support_mac.cc |
index b27a5448ab93bbeb2879759f0868536a122d008e..28eb18acd7c0663be2b181d8e61536d45e651961 100644 |
--- a/app/surface/io_surface_support_mac.cc |
+++ b/app/surface/io_surface_support_mac.cc |
@@ -26,7 +26,7 @@ typedef CGLError (*CGLTexImageIOSurface2DProcPtr)(CGLContextObj ctx, |
class IOSurfaceSupportImpl : public IOSurfaceSupport { |
public: |
- static IOSurfaceSupportImpl* Initialize(); |
+ static IOSurfaceSupportImpl* GetInstance(); |
bool InitializedSuccessfully() { |
return initialized_successfully_; |
@@ -80,7 +80,7 @@ class IOSurfaceSupportImpl : public IOSurfaceSupport { |
DISALLOW_COPY_AND_ASSIGN(IOSurfaceSupportImpl); |
}; |
-IOSurfaceSupportImpl* IOSurfaceSupportImpl::Initialize() { |
+IOSurfaceSupportImpl* IOSurfaceSupportImpl::GetInstance() { |
IOSurfaceSupportImpl* impl = Singleton<IOSurfaceSupportImpl>::get(); |
if (impl->InitializedSuccessfully()) |
return impl; |
@@ -259,7 +259,7 @@ IOSurfaceSupportImpl::~IOSurfaceSupportImpl() { |
} |
IOSurfaceSupport* IOSurfaceSupport::Initialize() { |
- return IOSurfaceSupportImpl::Initialize(); |
+ return IOSurfaceSupportImpl::GetInstance(); |
} |
IOSurfaceSupport::IOSurfaceSupport() { |