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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp

Issue 2857503002: Revert "Verify that constant vectors aren't invalidated during iteration." (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RuleSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
index a92a9cc5a402c1e5094c98518bc984cb5cd3b024..5de5c47dbe03711ef477f3e10437fd0603ae84dc 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
+++ b/third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp
@@ -152,12 +152,9 @@ bool MediaQueryEvaluator::Eval(
// Iterate over queries, stop if any of them eval to true (OR semantics).
bool result = false;
- for (size_t i = 0; i < queries.size() && !result; ++i) {
- // TODO(sof): CHECK() added for crbug.com/699269 diagnosis, remove sooner.
- CHECK_EQ(queries.data(), query_set.QueryVector().data());
+ for (size_t i = 0; i < queries.size() && !result; ++i)
result = Eval(*queries[i], viewport_dependent_media_query_results,
device_dependent_media_query_results);
- }
return result;
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RuleSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698