| Index: third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp b/third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp
|
| index 4b2636f7d8e5351f5ced9ced7757b18b093e9505..89652816037fa3f95ae848c98ad0a63c9e6a5940 100644
|
| --- a/third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp
|
| @@ -29,11 +29,11 @@ void SimDisplayItemList::appendDrawingItem(const WebRect&, const SkPicture* pict
|
|
|
| bool SimDisplayItemList::contains(SimCanvas::CommandType type, const String& colorString) const
|
| {
|
| - RGBA32 color = 0;
|
| + Color color = 0;
|
| if (!colorString.isNull())
|
| RELEASE_ASSERT(CSSParser::parseColor(color, colorString, true));
|
| for (auto& command : m_commands) {
|
| - if (command.type == type && (colorString.isNull() || command.color == color))
|
| + if (command.type == type && (colorString.isNull() || command.color == color.rgb()))
|
| return true;
|
| }
|
| return false;
|
|
|