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

Unified Diff: Source/core/css/resolver/StyleResolver.cpp

Issue 350803003: Perf check for bug (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update metric Created 6 years, 6 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 | « PerformanceTests/htmloptionsinherit.html ('k') | Tools/run-perf-test.cfg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleResolver.cpp
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
index a0899043b0ea17ecaf0d810a9e5fa02cf7464482..0b7b91c83e94dce8971b9c60b7b3aa5daaedec3f 100644
--- a/Source/core/css/resolver/StyleResolver.cpp
+++ b/Source/core/css/resolver/StyleResolver.cpp
@@ -1358,6 +1358,9 @@ void StyleResolver::applyProperties(StyleResolverState& state, const StyleProper
// as they might override the value inherited here. For this reason we don't allow declarations with
// explicitly inherited properties to be cached.
ASSERT(!current.value()->isInheritedValue());
+ TrackExceptionState es;
+ if (current.value()->isInheritedValue())
+ state.element()->setAttribute("badThings", "haveHappened", es);
continue;
}
« no previous file with comments | « PerformanceTests/htmloptionsinherit.html ('k') | Tools/run-perf-test.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698