Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Unified Diff: Source/core/css/CSSValueList.cpp

Issue 717933002: Clean up after getPropertyCSSValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase / fix debug compile? Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/CSSValueList.h ('k') | Source/core/css/CSSValueList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSValueList.cpp
diff --git a/Source/core/css/CSSValueList.cpp b/Source/core/css/CSSValueList.cpp
index 39bb16d672bae1780a6fa62178687ced6eadd7d8..c9bd4cdbf193003b8933228397a2932c07e3be6e 100644
--- a/Source/core/css/CSSValueList.cpp
+++ b/Source/core/css/CSSValueList.cpp
@@ -137,20 +137,6 @@ bool CSSValueList::hasFailedOrCanceledSubresources() const
return false;
}
-CSSValueList::CSSValueList(const CSSValueList& cloneFrom)
- : CSSValue(cloneFrom.classType(), /* isCSSOMSafe */ true)
-{
- m_valueListSeparator = cloneFrom.m_valueListSeparator;
- m_values.resize(cloneFrom.m_values.size());
- for (unsigned i = 0; i < m_values.size(); ++i)
- m_values[i] = cloneFrom.m_values[i]->cloneForCSSOM();
-}
-
-PassRefPtrWillBeRawPtr<CSSValueList> CSSValueList::cloneForCSSOM() const
-{
- return adoptRefWillBeNoop(new CSSValueList(*this));
-}
-
void CSSValueList::traceAfterDispatch(Visitor* visitor)
{
visitor->trace(m_values);
« no previous file with comments | « Source/core/css/CSSValueList.h ('k') | Source/core/css/CSSValueList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698