Fix fail case of IntelTC after applying pixmap source surface to canvas
authorByeongha Cho <byeongha.cho@samsung.com>
Fri, 19 Apr 2013 00:48:53 +0000 (09:48 +0900)
committerByeongha Cho <byeongha.cho@samsung.com>
Fri, 19 Apr 2013 00:48:53 +0000 (09:48 +0900)
commit8d1ca7ca6de7c4b99a40c73153ee65a53f7f7cfe
tree3c679a739fac123c3e6d7f8c592f0b515694826f
parent10397244b7444596bdaf9f0b66e05373522ee924
Fix fail case of IntelTC after applying pixmap source surface to canvas

[Title] Fix fail case of IntelTC after applying pixmap source surface to canvas
[Issue#] N/A
[Problem] Fail Intel canvas test case.
[Cause] Image surface made by Shadow drawing was not considered.
[Solution] Check surface type of nativeimage before drawing

Change-Id: I8c440c6f3968a1be7d47fca926e3d83347a2b846
Source/WebCore/platform/graphics/BitmapImage.cpp
Source/WebCore/platform/graphics/cairo/BitmapImageCairo.cpp