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

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

Issue 788113002: Simplify HTMLStyleElement. (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 | « no previous file | sky/engine/core/css/StyleSheetContents.cpp » ('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 07f2dd2dc818cb57869d265645152fd3c6ef642b..614ddacaaab90523b55defe79731055eb6f7e90c 100644
--- a/sky/engine/core/css/CSSTestHelper.cpp
+++ b/sky/engine/core/css/CSSTestHelper.cpp
@@ -62,7 +62,7 @@ void CSSTestHelper::addCSSRules(const char* cssText)
{
TextPosition position;
unsigned sheetLength = m_styleSheet->length();
- ASSERT_TRUE(m_styleSheet->contents()->parseStringAtPosition(cssText, position, true));
+ ASSERT_TRUE(m_styleSheet->contents()->parseString(cssText));
ASSERT_TRUE(m_styleSheet->length() > sheetLength);
}
« no previous file with comments | « no previous file | sky/engine/core/css/StyleSheetContents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698