| Index: Source/core/css/CSSGridLineNamesValue.cpp
|
| diff --git a/Source/platform/graphics/DisplayList.cpp b/Source/core/css/CSSGridLineNamesValue.cpp
|
| similarity index 78%
|
| copy from Source/platform/graphics/DisplayList.cpp
|
| copy to Source/core/css/CSSGridLineNamesValue.cpp
|
| index c16d3517cdc5bdacec65ff791dc538eec19bfdcc..3a2877d9ae9b7090ff816d53e240f9769e7c06cb 100644
|
| --- a/Source/platform/graphics/DisplayList.cpp
|
| +++ b/Source/core/css/CSSGridLineNamesValue.cpp
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2013 Google Inc. All rights reserved.
|
| + * Copyright (C) 2013 Igalia, S.L. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are
|
| @@ -29,30 +29,24 @@
|
| */
|
|
|
| #include "config.h"
|
| -#include "platform/graphics/DisplayList.h"
|
| -
|
| -#include "third_party/skia/include/core/SkPicture.h"
|
| +#include "core/css/CSSGridLineNamesValue.h"
|
|
|
| namespace WebCore {
|
|
|
| -DisplayList::DisplayList(const FloatRect& bounds)
|
| - : m_bounds(bounds)
|
| - , m_picture(adoptRef(new SkPicture()))
|
| +String CSSGridLineNamesValue::customCSSText() const
|
| {
|
| + return "(" + CSSValueList::customCSSText() + ")";
|
| }
|
|
|
| -DisplayList::~DisplayList()
|
| +CSSGridLineNamesValue::CSSGridLineNamesValue()
|
| + : CSSValueList(GridLineNamesClass, SpaceSeparator)
|
| {
|
| }
|
|
|
| -const FloatRect& DisplayList::bounds() const
|
| +PassRefPtr<CSSGridLineNamesValue> CSSGridLineNamesValue::cloneForCSSOM() const
|
| {
|
| - return m_bounds;
|
| + return adoptRef(new CSSGridLineNamesValue(*this));
|
| }
|
|
|
| -SkPicture* DisplayList::picture() const
|
| -{
|
| - return m_picture.get();
|
| }
|
|
|
| -}
|
|
|