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

Unified Diff: Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp

Issue 1097273002: Refactor core/v8/* methods to take isolate as first parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « Source/bindings/core/v8/V8ValueCache.cpp ('k') | Source/bindings/core/v8/custom/V8CustomEventCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
diff --git a/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp b/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
index 8ed315388fd5083ee325110312aa1a2eac9f0fb3..ff0f9320ff5b24f6ff84317a4e9e0ef3c7dc36aa 100644
--- a/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
@@ -84,7 +84,7 @@ struct CSSPropertyInfo {
CSSPropertyID propID;
};
-static CSSPropertyID parseCSSPropertyID(const String& propertyName, v8::Isolate* isolate)
+static CSSPropertyID parseCSSPropertyID(v8::Isolate* isolate, const String& propertyName)
{
unsigned length = propertyName.length();
if (!length)
@@ -148,7 +148,7 @@ static CSSPropertyInfo* cssPropertyInfo(v8::Local<v8::String> v8PropertyName, v8
CSSPropertyInfo* propInfo = map.get(propertyName);
if (!propInfo) {
propInfo = new CSSPropertyInfo();
- propInfo->propID = parseCSSPropertyID(propertyName, isolate);
+ propInfo->propID = parseCSSPropertyID(isolate, propertyName);
map.add(propertyName, propInfo);
}
if (!propInfo->propID)
« no previous file with comments | « Source/bindings/core/v8/V8ValueCache.cpp ('k') | Source/bindings/core/v8/custom/V8CustomEventCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698