Kaydet (Commit) 6d7353de authored tarafından Noel Grandin's avatar Noel Grandin

eliminate typedef only being used once

Change-Id: I1e54968a67f3edce3b2297ea1932d5b07e2da643
üst b1b6f163
...@@ -114,8 +114,6 @@ namespace canvas ...@@ -114,8 +114,6 @@ namespace canvas
// 32bit rgba and can have any size. // 32bit rgba and can have any size.
canvas::IColorBufferSharedPtr mpBuffer; canvas::IColorBufferSharedPtr mpBuffer;
}; };
typedef std::shared_ptr< SurfaceProxy > SurfaceProxySharedPtr;
} }
#endif #endif
......
...@@ -53,7 +53,7 @@ namespace canvas ...@@ -53,7 +53,7 @@ namespace canvas
// not much to do for now, simply allocate a new surface // not much to do for now, simply allocate a new surface
// proxy from our internal pool and initialize this thing // proxy from our internal pool and initialize this thing
// properly. we *don't* create a hardware surface for now. // properly. we *don't* create a hardware surface for now.
return SurfaceProxySharedPtr(new SurfaceProxy(pBuffer,mpPageManager)); return std::shared_ptr<ISurfaceProxy>(new SurfaceProxy(pBuffer,mpPageManager));
} }
private: private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment