Minor refactor in SharedPlatformSurface. 89/5389/4
authorKondapally Kalyan <kalyan.kondapally@intel.com>
Tue, 2 Jul 2013 09:57:02 +0000 (12:57 +0300)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 8 Jul 2013 21:58:52 +0000 (14:58 -0700)
commitef1c826c67af955bb46ac46aac5cb015cafdcd63
treeff6af6b68d97bd570bca2fd0f5f95bb1b07e21d6
parentb3fc412006184292e92f7b415d3e31f8e1d36bb4
Minor refactor in SharedPlatformSurface.

This patch does the following changes in SharedPlatformSurface:
1)Removes un-necessary code.
2)Use SurfaceAttributes as the key instead of generating a new one
  each time a context is created.
3)Ensure's we always restore previous surface and context correctly.
Change-Id: Ic883dd2ea1e573914cc930b2eda58655989c470e
Source/WebCore/platform/graphics/efl/tizen/SharedPlatformSurfaceTizen.cpp