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

Unified Diff: third_party/WebKit/Source/core/css/parser/MediaConditionTest.cpp

Issue 2837023005: Move MediaQuery classes off BlinkGC heap (Closed)
Patch Set: fix Created 3 years, 8 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/parser/MediaConditionTest.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/MediaConditionTest.cpp b/third_party/WebKit/Source/core/css/parser/MediaConditionTest.cpp
index 5883eda72eabffbd95539da2ffcaa8bda0e0d8be..37e023c05b02ec898c75d1948d81ba8b7471c78d 100644
--- a/third_party/WebKit/Source/core/css/parser/MediaConditionTest.cpp
+++ b/third_party/WebKit/Source/core/css/parser/MediaConditionTest.cpp
@@ -38,7 +38,7 @@ TEST(MediaConditionParserTest, Basic) {
// FIXME: We should test comma-seperated media conditions
for (unsigned i = 0; test_cases[i].input; ++i) {
CSSTokenizer tokenizer(test_cases[i].input);
- MediaQuerySet* media_condition_query_set =
+ RefPtr<MediaQuerySet> media_condition_query_set =
MediaQueryParser::ParseMediaCondition(tokenizer.TokenRange());
ASSERT_EQ(media_condition_query_set->QueryVector().size(), (unsigned)1);
String query_text = media_condition_query_set->QueryVector()[0]->CssText();

Powered by Google App Engine
This is Rietveld 408576698