Index: third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp |
index 6bf6758e6be061150f892bcc6f442bbcf0ff2038..2a7ad49cd6ba066b269040d70b46bde4411eee9e 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp |
@@ -96,7 +96,7 @@ static CSSPropertyID parseCSSPropertyID(v8::Isolate* isolate, const String& prop |
i += 3; |
// getComputedStyle(elem).cssX is a non-standard behaviour |
// Measure this behaviour as CSSXGetComputedStyleQueries. |
- UseCounter::countDeprecationIfNotPrivateScript(isolate, callingExecutionContext(isolate), UseCounter::CSSXGetComputedStyleQueries); |
+ UseCounter::countDeprecationIfNotPrivateScript(isolate, currentExecutionContext(isolate), UseCounter::CSSXGetComputedStyleQueries); |
} else if (hasCSSPropertyNamePrefix(propertyName, "webkit")) |
builder.append('-'); |
else if (isASCIIUpper(propertyName[0])) |