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

Unified Diff: sky/engine/core/css/CSSTestHelper.cpp

Issue 799073004: Remove dead code from StyleSheetContents and CSSStyleSheet. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/core/css/CSSStyleSheet.cpp ('k') | sky/engine/core/css/StyleSheetContents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSTestHelper.cpp
diff --git a/sky/engine/core/css/CSSTestHelper.cpp b/sky/engine/core/css/CSSTestHelper.cpp
index 614ddacaaab90523b55defe79731055eb6f7e90c..289551438c126c87a0f3b674abd25606f4c6578d 100644
--- a/sky/engine/core/css/CSSTestHelper.cpp
+++ b/sky/engine/core/css/CSSTestHelper.cpp
@@ -48,7 +48,7 @@ CSSTestHelper::CSSTestHelper()
{
m_document = Document::create();
TextPosition position;
- m_styleSheet = CSSStyleSheet::createInline(m_document.get(), KURL(), position);
+ m_styleSheet = CSSStyleSheet::create(m_document.get(), KURL(), position);
}
RuleSet& CSSTestHelper::ruleSet()
« no previous file with comments | « sky/engine/core/css/CSSStyleSheet.cpp ('k') | sky/engine/core/css/StyleSheetContents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698