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

Unified Diff: Source/core/css/StylePropertySet.cpp

Issue 1136333002: Remove PropertyReference::cssText (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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/core/css/StylePropertySet.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/StylePropertySet.cpp
diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp
index 18e52e58d230cf57c6042460157c6248e4f49337..a9f394e72724d10aede094cdaa4b778329994d99 100644
--- a/Source/core/css/StylePropertySet.cpp
+++ b/Source/core/css/StylePropertySet.cpp
@@ -555,22 +555,4 @@ PassRefPtrWillBeRawPtr<MutableStylePropertySet> MutableStylePropertySet::create(
return adoptRefWillBeNoop(new MutableStylePropertySet(properties, count));
}
-String StylePropertySet::PropertyReference::cssName() const
-{
- return getPropertyNameString(id());
-}
-
-String StylePropertySet::PropertyReference::cssText() const
-{
- StringBuilder result;
- result.append(cssName());
- result.appendLiteral(": ");
- result.append(propertyValue()->cssText());
- if (isImportant())
- result.appendLiteral(" !important");
- result.append(';');
- return result.toString();
-}
-
-
} // namespace blink
« no previous file with comments | « Source/core/css/StylePropertySet.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698