Changeset 166604 in webkit
- Timestamp:
- Apr 1, 2014 1:32:33 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r166603 r166604 1 2014-04-01 Benjamin Poulain <bpoulain@apple.com> 2 3 Remove a couple of useless static strings 4 https://bugs.webkit.org/show_bug.cgi?id=131003 5 6 Reviewed by David Kilzer. 7 8 There is zero value in keeping those strings alive. 9 10 * css/StyleProperties.cpp: 11 (WebCore::isInitialOrInherit): 12 1 13 2014-04-01 Myles C. Maxfield <mmaxfield@apple.com> 2 14 -
trunk/Source/WebCore/css/StyleProperties.cpp
r165607 r166604 51 51 static bool isInitialOrInherit(const String& value) 52 52 { 53 DEPRECATED_DEFINE_STATIC_LOCAL(String, initial, ("initial")); 54 DEPRECATED_DEFINE_STATIC_LOCAL(String, inherit, ("inherit")); 55 return value.length() == 7 && (value == initial || value == inherit); 53 return value.length() == 7 && (value == "initial" || value == "inherit"); 56 54 } 57 55
Note: See TracChangeset
for help on using the changeset viewer.