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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp

Issue 2763183002: DevTools: remove nesting depth tracking from coverage (Closed)
Patch Set: DevTools: remove nesting depth tracking from coverage Created 3 years, 9 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/inspector/InspectorStyleSheet.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
index d7210ff78e2e763b56439d8dbd55ea98b71068cc..ce69dadf739a77a20b97698f422c880f2e68eb6b 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
@@ -1545,7 +1545,7 @@ InspectorStyleSheet::buildObjectForRuleUsage(CSSRule* rule, bool wasUsed) {
return nullptr;
SourceRange wholeRuleRange(sourceData->ruleHeaderRange.start,
- sourceData->ruleBodyRange.end);
+ sourceData->ruleBodyRange.end + 1);
std::unique_ptr<protocol::CSS::RuleUsage> result =
protocol::CSS::RuleUsage::create()
.setStyleSheetId(id())

Powered by Google App Engine
This is Rietveld 408576698