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

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

Issue 1001833002: Rename default -> initial style and use singletons. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | Source/core/css/CSSMatrix.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSCalculationValueTest.cpp
diff --git a/Source/core/css/CSSCalculationValueTest.cpp b/Source/core/css/CSSCalculationValueTest.cpp
index 55733c7c7ea217d99dee5aa57bc20f7e996da668..38627035f6d2df376770a26f155deaff89660cfb 100644
--- a/Source/core/css/CSSCalculationValueTest.cpp
+++ b/Source/core/css/CSSCalculationValueTest.cpp
@@ -89,7 +89,7 @@ bool lengthArraysEqual(CSSLengthArray& a, CSSLengthArray& b)
TEST(CSSCalculationValue, AccumulatePixelsAndPercent)
{
- RefPtr<LayoutStyle> style = LayoutStyle::createDefaultStyle();
+ RefPtr<LayoutStyle> style = LayoutStyle::create();
style->setEffectiveZoom(5);
CSSToLengthConversionData conversionData(style.get(), style.get(), nullptr, style->effectiveZoom());
« no previous file with comments | « no previous file | Source/core/css/CSSMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698