[Win] REGRESSION (r185124) CACFLayer handling broken
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Jul 2015 00:36:15 +0000 (00:36 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Jul 2015 00:36:15 +0000 (00:36 +0000)
commit4d71dd945b86a19c893f9c5db7fedc8c994358a1
treec331575b58a894f98130433c98d4d1daebb7408e
parent61a5936e91f23ba02ce13aecef2f17f31b4d88a2
[Win] REGRESSION (r185124) CACFLayer handling broken
https://bugs.webkit.org/show_bug.cgi?id=146530
<rdar://problem/21642241>

Reviewed by Tim Horton.

At some point in the past, the set of LayerChange flags
overflowed the default MSVC enum type of 'int'. This caused
Windows rendering code to not receive various update notifications.

Zalan's change moved the DebugIndicatorsChanged flag into that
overflow set, which made it obvious that something was wrong.

The fix is to tell the compiler to use a compatible base type
for the enum.

* platform/graphics/ca/GraphicsLayerCA.h: Prevent overflow.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@186210 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h