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

Unified Diff: Source/core/css/CSSValueTestHelper.h

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase and oilpan feedback Created 5 years, 6 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: Source/core/css/CSSValueTestHelper.h
diff --git a/Source/core/css/CSSValueTestHelper.h b/Source/core/css/CSSValueTestHelper.h
index b5e0b27dbd9cc878f6baf4ec65fd17df84cd379d..b2555d19c74044dd6d0784777e73d75a8a282089 100644
--- a/Source/core/css/CSSValueTestHelper.h
+++ b/Source/core/css/CSSValueTestHelper.h
@@ -68,7 +68,7 @@ inline void PrintTo(const CSSValue& cssValue, ::std::ostream* os, const char* ty
inline void PrintTo(const CSSPrimitiveValue& cssValue, ::std::ostream* os, const char* typeName = "CSSPrimitiveValue")
{
- PrintTo(static_cast<const CSSValue&>(cssValue), os, typeName);
+ PrintTo(cssValue, os, typeName);
}
}

Powered by Google App Engine
This is Rietveld 408576698