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

Unified Diff: third_party/WebKit/Source/core/css/CSSStyleDeclaration.h

Issue 1405293012: [Variables] Enable get/setProperty and similar APIs from the CSSOM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use static_assert. Created 5 years, 1 month 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/css/CSSStyleDeclaration.h
diff --git a/third_party/WebKit/Source/core/css/CSSStyleDeclaration.h b/third_party/WebKit/Source/core/css/CSSStyleDeclaration.h
index 26ac96db1b4a2b16936e819ecd9d03bb690092e3..808fc944b0205ab9c9af9731ff9265d14a8286fb 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleDeclaration.h
+++ b/third_party/WebKit/Source/core/css/CSSStyleDeclaration.h
@@ -53,7 +53,7 @@ public:
}
void setCSSFloat(const String& value, ExceptionState& exceptionState)
{
- setPropertyInternal(CSSPropertyFloat, value, false, exceptionState);
+ setPropertyInternal(CSSPropertyFloat, String(), value, false, exceptionState);
}
virtual String cssText() const = 0;
virtual void setCSSText(const String&, ExceptionState&) = 0;
@@ -71,7 +71,7 @@ public:
// The CSSValue returned by this function should not be exposed to the web as it may be used by multiple documents at the same time.
virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) = 0;
virtual String getPropertyValueInternal(CSSPropertyID) = 0;
- virtual void setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionState&) = 0;
+ virtual void setPropertyInternal(CSSPropertyID, const String& propertyValue, const String& value, bool important, ExceptionState&) = 0;
virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const = 0;
virtual CSSStyleSheet* parentStyleSheet() const { return 0; }
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSCustomPropertyDeclaration.cpp ('k') | third_party/WebKit/Source/core/css/CSSValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698