Index: third_party/WebKit/Source/core/css/CSSStyleSheet.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp b/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp |
index cd14610e185e492c82e766875ffd2f59940b7add..2aba4cda0443d22dfad6dbe51e840b72f2ce6aec 100644 |
--- a/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp |
@@ -313,7 +313,7 @@ unsigned CSSStyleSheet::insertRule(const String& ruleString, unsigned index, Exc |
unsigned CSSStyleSheet::insertRule(const String& rule, ExceptionState& exceptionState) |
{ |
- UseCounter::countDeprecation(callingExecutionContext(V8PerIsolateData::mainThreadIsolate()), UseCounter::CSSStyleSheetInsertRuleOptionalArg); |
+ UseCounter::countDeprecation(currentExecutionContext(V8PerIsolateData::mainThreadIsolate()), UseCounter::CSSStyleSheetInsertRuleOptionalArg); |
return insertRule(rule, 0, exceptionState); |
} |