Commit af208df0 authored by hans@chromium.org's avatar hans@chromium.org

Remove Clang-on-Win fix for definitions of Color's static data members

Clang does treat the in-class initialization as a definition, just like MSVC.
The problem was that Clang failed to emit the definition unless it was referenced,
which broke the components build. This has been fixed in Clang r213304.

The work-around was added in Blink r176469, and this patch effectively removes that.

BUG=82385

Review URL: https://codereview.chromium.org/397323002

git-svn-id: svn://svn.chromium.org/blink/trunk@178401 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 1ba6b772
...@@ -37,7 +37,7 @@ using namespace std; ...@@ -37,7 +37,7 @@ using namespace std;
namespace WebCore { namespace WebCore {
#if !COMPILER(MSVC) || COMPILER(CLANG) #if !COMPILER(MSVC)
// FIXME: Use C++11 strong enums to avoid static data member with initializer definition problems. // FIXME: Use C++11 strong enums to avoid static data member with initializer definition problems.
const RGBA32 Color::black; const RGBA32 Color::black;
const RGBA32 Color::white; const RGBA32 Color::white;
......
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