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

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

Issue 2607403002: Disallow setting invalid values for registered properties via CSSOM (Closed)
Patch Set: fix comments Created 3 years, 12 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/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 14e7e7f19c28f4955da69404870270fd31f6c848..0eaf58150a37efe340ffb488cdabfe58df199ed3 100644
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
@@ -229,7 +229,7 @@ void V8CSSStyleDeclaration::namedPropertySetterCustom(
info.GetIsolate(), ExceptionState::SetterContext, "CSSStyleDeclaration",
getPropertyName(resolveCSSPropertyID(unresolvedProperty)));
impl->setPropertyInternal(unresolvedProperty, String(), propertyValue, false,
- exceptionState);
+ nullptr, exceptionState);
v8SetReturnValue(info, value);
}

Powered by Google App Engine
This is Rietveld 408576698