Changeset 151353 in webkit
- Timestamp:
- Jun 8, 2013 11:36:47 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r151344 r151353 1 2013-06-08 Jae Hyun Park <jae.park@company100.net> 2 3 [Coordinated Graphics] Pass the ownership of GraphicsSurface explicitly 4 https://bugs.webkit.org/show_bug.cgi?id=117379 5 6 Reviewed by Noam Rosenthal. 7 8 When creating WebCoordinatedSurface with GraphicsSurface, it is clearer 9 to pass the ownership of the created GraphicsSurface explicitly. 10 11 * Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp: 12 (WebKit::WebCoordinatedSurface::create): 13 1 14 2013-06-07 Anders Carlsson <andersca@apple.com> 2 15 -
trunk/Source/WebKit2/Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp
r151262 r151353 157 157 RefPtr<GraphicsSurface> surface = GraphicsSurface::create(handle.m_size, surfaceFlags, handle.m_graphicsSurfaceToken); 158 158 if (surface) 159 return adoptRef(new WebCoordinatedSurface(handle.m_size, handle.m_flags, PassRefPtr<GraphicsSurface>(surface)));159 return adoptRef(new WebCoordinatedSurface(handle.m_size, handle.m_flags, surface.release())); 160 160 } 161 161 #endif
Note: See TracChangeset
for help on using the changeset viewer.