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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp

Issue 2160483002: Make CSSStyleValue::toCSSValue() return a const CSSValue* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_make_cssvaluepair_take_const
Patch Set: Created 4 years, 5 months 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
Index: third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp
index d85c27983f152f7c5a895dd89daf375caa9f757b..6c022d4c7a68bb3e3a1dfbac7f57d9727d6ef221 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp
@@ -70,7 +70,7 @@ bool CSSTransformValue::is2D() const
return true;
}
-CSSValue* CSSTransformValue::toCSSValue() const
+const CSSValue* CSSTransformValue::toCSSValue() const
{
CSSValueList* transformCSSValue = CSSValueList::createSpaceSeparated();
for (size_t i = 0; i < m_transformComponents.size(); i++) {

Powered by Google App Engine
This is Rietveld 408576698